From 046e354a066d6003b616fc8177e10d7cfd9c4c79 Mon Sep 17 00:00:00 2001 From: Manny Dinssa <44172848+Dinssa@users.noreply.github.com> Date: Wed, 6 Nov 2024 15:36:42 +0000 Subject: [PATCH] Fix lint --- app/components/create_log_actions_component.html.erb | 2 +- app/views/organisations/schemes.html.erb | 2 +- app/views/organisations/users.html.erb | 2 +- app/views/schemes/index.html.erb | 2 +- app/views/users/index.html.erb | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/components/create_log_actions_component.html.erb b/app/components/create_log_actions_component.html.erb index 805cf02e5..39ab17214 100644 --- a/app/components/create_log_actions_component.html.erb +++ b/app/components/create_log_actions_component.html.erb @@ -1,4 +1,4 @@ -
"> +
"> <% if display_actions? %> <%= govuk_button_to create_button_copy, create_button_href, class: "govuk-!-margin-right-3" %> <% unless user.support? %> diff --git a/app/views/organisations/schemes.html.erb b/app/views/organisations/schemes.html.erb index 692dd9ef1..fb0674d49 100644 --- a/app/views/organisations/schemes.html.erb +++ b/app/views/organisations/schemes.html.erb @@ -23,7 +23,7 @@
<% display_actions = SchemePolicy.new(current_user, nil).create? %> -
"> +
"> <% if display_actions %> <%= govuk_button_link_to "Create a new supported housing scheme", new_scheme_path, html: { method: :post } %> <% end %> diff --git a/app/views/organisations/users.html.erb b/app/views/organisations/users.html.erb index 78a611ea9..da5a5db1e 100644 --- a/app/views/organisations/users.html.erb +++ b/app/views/organisations/users.html.erb @@ -14,7 +14,7 @@
<% display_actions = current_user.data_coordinator? || current_user.support? %> -
"> +
"> <% if display_actions %> <%= govuk_button_link_to "Invite user", new_user_path(organisation_id: @organisation.id), html: { method: :get } %> <% end %> diff --git a/app/views/schemes/index.html.erb b/app/views/schemes/index.html.erb index bd8cee387..f246ec072 100644 --- a/app/views/schemes/index.html.erb +++ b/app/views/schemes/index.html.erb @@ -7,7 +7,7 @@
<% display_actions = SchemePolicy.new(current_user, nil).create? %> -
"> +
"> <% if display_actions %> <%= govuk_button_link_to "Create a new supported housing scheme", new_scheme_path, html: { method: :post } %> <% end %> diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb index bf19706cc..40d639a3b 100644 --- a/app/views/users/index.html.erb +++ b/app/views/users/index.html.erb @@ -7,7 +7,7 @@
<% display_actions = current_user.data_coordinator? || current_user.support? %> -
"> +
"> <% if display_actions %> <%= govuk_button_link_to "Invite user", new_user_path, html: { method: :get } %> <% end %>