From 34027d4521edf84267581994cdd1ca06b7bc3ce2 Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire Date: Thu, 27 Oct 2022 16:41:25 +0100 Subject: [PATCH] refactor: erblinting --- .../add_housing_provider.html.erb | 5 +++-- .../organisation_relationships/housing_providers.html.erb | 8 ++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/app/views/organisation_relationships/add_housing_provider.html.erb b/app/views/organisation_relationships/add_housing_provider.html.erb index 94beaf7b4..638d0e00f 100644 --- a/app/views/organisation_relationships/add_housing_provider.html.erb +++ b/app/views/organisation_relationships/add_housing_provider.html.erb @@ -20,8 +20,9 @@ <% answer_options[organisation[0]] = organisation[1] %> <% end %> <%= render partial: "organisation_relationships/related_organisation_select_question", locals: { - question: Form::Question.new("", {"answer_options" => answer_options}, nil), - f: } %> + question: Form::Question.new("", { "answer_options" => answer_options }, nil), + f:, + } %> <%= f.govuk_submit "Add" %> <%= govuk_details(summary_text: "Can't find the housing provider you're looking for?") do %>