From 500973044a96a2d706cb247c08c95d7129e33cf2 Mon Sep 17 00:00:00 2001 From: Ted-U Date: Wed, 3 Aug 2022 13:17:22 +0100 Subject: [PATCH] fix indentation --- app/views/locations/edit.html.erb | 2 +- app/views/locations/edit_name.html.erb | 2 +- app/views/locations/new.html.erb | 2 +- app/views/schemes/check_answers.html.erb | 4 ++-- app/views/schemes/details.html.erb | 2 +- app/views/schemes/edit_name.html.erb | 2 +- app/views/schemes/new.html.erb | 14 +++++++------- app/views/schemes/primary_client_group.html.erb | 2 +- app/views/schemes/secondary_client_group.html.erb | 2 +- app/views/schemes/support.html.erb | 2 +- 10 files changed, 17 insertions(+), 17 deletions(-) diff --git a/app/views/locations/edit.html.erb b/app/views/locations/edit.html.erb index c3e3487ff..c168e7f6e 100644 --- a/app/views/locations/edit.html.erb +++ b/app/views/locations/edit.html.erb @@ -12,7 +12,7 @@
<%= f.govuk_error_summary %> -<%= render partial: "organisations/headings", locals: { main: "Add a location to this scheme", sub: @scheme.service_name } %> + <%= render partial: "organisations/headings", locals: { main: "Add a location to this scheme", sub: @scheme.service_name } %> <%= f.govuk_text_field :postcode, label: { size: "m" }, diff --git a/app/views/locations/edit_name.html.erb b/app/views/locations/edit_name.html.erb index 8b693e577..087ca0812 100644 --- a/app/views/locations/edit_name.html.erb +++ b/app/views/locations/edit_name.html.erb @@ -12,7 +12,7 @@
<%= f.govuk_error_summary %> -<%= render partial: "organisations/headings", locals: { main: "Location name for #{@location.postcode}", sub: @scheme.service_name } %> + <%= render partial: "organisations/headings", locals: { main: "Location name for #{@location.postcode}", sub: @scheme.service_name } %> <%= f.govuk_text_field :name, label: { hidden: true }, diff --git a/app/views/locations/new.html.erb b/app/views/locations/new.html.erb index ad1b9e8e2..71690f8e6 100644 --- a/app/views/locations/new.html.erb +++ b/app/views/locations/new.html.erb @@ -12,7 +12,7 @@
<%= f.govuk_error_summary %> -<%= render partial: "organisations/headings", locals: { main: "Add a location to this scheme", sub: @scheme.service_name } %> + <%= render partial: "organisations/headings", locals: { main: "Add a location to this scheme", sub: @scheme.service_name } %> <%= f.govuk_text_field :postcode, label: { size: "m" }, diff --git a/app/views/schemes/check_answers.html.erb b/app/views/schemes/check_answers.html.erb index e6db96301..7319259f4 100644 --- a/app/views/schemes/check_answers.html.erb +++ b/app/views/schemes/check_answers.html.erb @@ -1,8 +1,8 @@ <%= form_for(@scheme, as: :scheme, method: :patch) do |f| %> <%= f.govuk_error_summary %> -<% content_for :title, "Check your answers before creating this scheme" %> -<%= render partial: "organisations/headings", locals: { main: "Check your changes before creating this scheme", sub: @scheme.service_name } %> + <% content_for :title, "Check your answers before creating this scheme" %> + <%= render partial: "organisations/headings", locals: { main: "Check your changes before creating this scheme", sub: @scheme.service_name } %> <%= govuk_tabs(title: "Check your answers before creating this scheme") do |component| %> <% component.tab(label: "Scheme") do %> diff --git a/app/views/schemes/details.html.erb b/app/views/schemes/details.html.erb index 92ea60588..4d45213f3 100644 --- a/app/views/schemes/details.html.erb +++ b/app/views/schemes/details.html.erb @@ -12,7 +12,7 @@
<%= f.govuk_error_summary %> -<%= render partial: "organisations/headings", locals: { main: "Create a new supported housing scheme", sub: nil } %> + <%= render partial: "organisations/headings", locals: { main: "Create a new supported housing scheme", sub: nil } %> <%= f.govuk_text_field :service_name, label: { text: "Scheme name", size: "m" }, diff --git a/app/views/schemes/edit_name.html.erb b/app/views/schemes/edit_name.html.erb index 6b3a40f75..04e28c93a 100644 --- a/app/views/schemes/edit_name.html.erb +++ b/app/views/schemes/edit_name.html.erb @@ -12,7 +12,7 @@
<%= f.govuk_error_summary %> -<%= render partial: "organisations/headings", locals: { main: "Scheme details", sub: @scheme.service_name } %> + <%= render partial: "organisations/headings", locals: { main: "Scheme details", sub: @scheme.service_name } %> <%= f.govuk_text_field :service_name, label: { text: "Scheme name", size: "m" }, diff --git a/app/views/schemes/new.html.erb b/app/views/schemes/new.html.erb index 26520fa09..ff4f4d3a9 100644 --- a/app/views/schemes/new.html.erb +++ b/app/views/schemes/new.html.erb @@ -3,14 +3,14 @@
<%= f.govuk_error_summary %> -<% content_for :title, "Create a new supported housing scheme" %> + <% content_for :title, "Create a new supported housing scheme" %> -<% content_for :before_content do %> - <%= govuk_back_link( - text: "Back", - href: "javascript:history.go(-1);", - ) %> -<% end %> + <% content_for :before_content do %> + <%= govuk_back_link( + text: "Back", + href: "javascript:history.go(-1);", + ) %> + <% end %>

<%= content_for(:title) %> diff --git a/app/views/schemes/primary_client_group.html.erb b/app/views/schemes/primary_client_group.html.erb index c27a874b3..f956884bb 100644 --- a/app/views/schemes/primary_client_group.html.erb +++ b/app/views/schemes/primary_client_group.html.erb @@ -20,7 +20,7 @@
<%= f.govuk_error_summary %> -<%= render partial: "organisations/headings", locals: { main: "What client group is this scheme intended for?", sub: @scheme.service_name } %> + <%= render partial: "organisations/headings", locals: { main: "What client group is this scheme intended for?", sub: @scheme.service_name } %> <% primary_client_group_selection = Scheme.primary_client_groups.keys.excluding("Missing").map { |key, _| OpenStruct.new(id: key, name: key) } %> <%= f.govuk_collection_radio_buttons :primary_client_group, diff --git a/app/views/schemes/secondary_client_group.html.erb b/app/views/schemes/secondary_client_group.html.erb index fa337df9b..d229883ba 100644 --- a/app/views/schemes/secondary_client_group.html.erb +++ b/app/views/schemes/secondary_client_group.html.erb @@ -12,7 +12,7 @@
<%= f.govuk_error_summary %> -<%= render partial: "organisations/headings", locals: { main: "What is the other client group?", sub: @scheme.service_name } %> + <%= render partial: "organisations/headings", locals: { main: "What is the other client group?", sub: @scheme.service_name } %> <% secondary_client_group_selection = Scheme.secondary_client_groups.keys.excluding("Missing").map { |key, _| OpenStruct.new(id: key, name: key) } %> <%= f.govuk_collection_radio_buttons :secondary_client_group, diff --git a/app/views/schemes/support.html.erb b/app/views/schemes/support.html.erb index b8c665540..0c06a059f 100644 --- a/app/views/schemes/support.html.erb +++ b/app/views/schemes/support.html.erb @@ -12,7 +12,7 @@
<%= f.govuk_error_summary %> -<%= render partial: "organisations/headings", locals: { main: "What support does this scheme provide?", sub: @scheme.service_name } %> + <%= render partial: "organisations/headings", locals: { main: "What support does this scheme provide?", sub: @scheme.service_name } %> <% support_level_options_hints = { "Low level": "Staff visiting once a week, fortnightly or less.", "Medium level": "Staff on site daily or making frequent visits with some out-of-hours cover.", "High level": "Intensive level of staffing provided on a 24-hour basis." } %>