From e87136e4c95f0c758d92c16fe9b627f2e8ee8a3c Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire Date: Mon, 31 Oct 2022 11:30:36 +0000 Subject: [PATCH] refactor: erblinting --- .../organisation_relationships/housing_providers.html.erb | 8 ++++---- .../remove_housing_provider.html.erb | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/organisation_relationships/housing_providers.html.erb b/app/views/organisation_relationships/housing_providers.html.erb index 28efac675..0e34d9683 100644 --- a/app/views/organisation_relationships/housing_providers.html.erb +++ b/app/views/organisation_relationships/housing_providers.html.erb @@ -15,8 +15,8 @@ success: true, title_heading_level: 3, title_id: "swanky-notifications" ) do |notification_banner| - notification_banner.heading(text: "#{Organisation.find(params['removed_organisation_id']).name} is no longer one of your housing providers") - end %> + notification_banner.heading(text: "#{Organisation.find(params['removed_organisation_id']).name} is no longer one of your housing providers") + end %> <% end %> <% end %> <% if current_user.support? %> @@ -37,8 +37,8 @@ success: true, title_heading_level: 3, title_id: "swanky-notifications" ) do |notification_banner| - notification_banner.heading(text: "#{Organisation.find(params['removed_organisation_id']).name} is no longer one of this organisation's housing providers") - end %> + notification_banner.heading(text: "#{Organisation.find(params['removed_organisation_id']).name} is no longer one of this organisation's housing providers") + end %> <% end %>

This organisation can submit logs for its housing providers.

<% if @total_count == 0 %> diff --git a/app/views/organisation_relationships/remove_housing_provider.html.erb b/app/views/organisation_relationships/remove_housing_provider.html.erb index e8bc0c5c0..850c8ce7b 100644 --- a/app/views/organisation_relationships/remove_housing_provider.html.erb +++ b/app/views/organisation_relationships/remove_housing_provider.html.erb @@ -1,4 +1,4 @@ -<% @organisation_to_remove_id = params['organisation_to_remove_id'] %> +<% @organisation_to_remove_id = params["organisation_to_remove_id"] %> <%= form_with url: housing_providers_organisation_path(organisation_to_remove_id: @organisation_to_remove_id), method: "delete", local: true do |f| %> <% if current_user.support? %> <%= render partial: "organisations/headings", locals: { main: @organisation.name, sub: nil } %>