From 1f4d3a0884f1ec4670cbf98b1013a8e649a8f0f7 Mon Sep 17 00:00:00 2001 From: Paul Robert Lloyd Date: Mon, 11 Jul 2022 11:48:46 +0100 Subject: [PATCH] Consistent whitespace for govuk_back_link --- app/views/locations/edit.html.erb | 6 +++--- app/views/locations/edit_name.html.erb | 6 +++--- app/views/locations/index.html.erb | 6 +++--- app/views/locations/new.html.erb | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/app/views/locations/edit.html.erb b/app/views/locations/edit.html.erb index e8a38ecb3..047b9ca6e 100644 --- a/app/views/locations/edit.html.erb +++ b/app/views/locations/edit.html.erb @@ -2,9 +2,9 @@ <% content_for :before_content do %> <%= govuk_back_link( - text: "Back", - href: "/schemes/#{@scheme.id}/support", - ) %> + text: "Back", + href: "/schemes/#{@scheme.id}/support", + ) %> <% end %> <%= render partial: "organisations/headings", locals: { main: "Add a location to this scheme", sub: @scheme.service_name } %> diff --git a/app/views/locations/edit_name.html.erb b/app/views/locations/edit_name.html.erb index 22ce4be1f..0bc469a94 100644 --- a/app/views/locations/edit_name.html.erb +++ b/app/views/locations/edit_name.html.erb @@ -2,9 +2,9 @@ <% content_for :before_content do %> <%= govuk_back_link( - text: "Back", - href: "/schemes/#{@scheme.id}/locations", - ) %> + text: "Back", + href: "/schemes/#{@scheme.id}/locations", + ) %> <% end %> <%= render partial: "organisations/headings", locals: { main: "Location name for #{@location.postcode}", sub: @scheme.service_name } %> diff --git a/app/views/locations/index.html.erb b/app/views/locations/index.html.erb index 763a4a2ad..ccbbb0c29 100644 --- a/app/views/locations/index.html.erb +++ b/app/views/locations/index.html.erb @@ -2,9 +2,9 @@ <% content_for :title, title %> <% content_for :before_content do %> <%= govuk_back_link( - text: "Back", - href: "/schemes/#{@scheme.id}", - ) %> + text: "Back", + href: "/schemes/#{@scheme.id}", + ) %> <% end %> <%= render partial: "organisations/headings", locals: { main: @scheme.service_name, sub: nil } %> <%= render SubNavigationComponent.new(items: scheme_items(request.path, @scheme.id, "Locations")) %> diff --git a/app/views/locations/new.html.erb b/app/views/locations/new.html.erb index 8c8ff23c5..19c2ae125 100644 --- a/app/views/locations/new.html.erb +++ b/app/views/locations/new.html.erb @@ -2,9 +2,9 @@ <% content_for :before_content do %> <%= govuk_back_link( - text: "Back", - href: "/schemes/#{@scheme.id}/support", - ) %> + text: "Back", + href: "/schemes/#{@scheme.id}/support", + ) %> <% end %> <%= render partial: "organisations/headings", locals: { main: "Add a location to this scheme", sub: @scheme.service_name } %>