From 71f8f5b03ed32cf78ec7d1749f98a24425b4d060 Mon Sep 17 00:00:00 2001 From: Kat Date: Thu, 12 Oct 2023 16:11:44 +0100 Subject: [PATCH] Move location text --- app/views/locations/index.html.erb | 1 - app/views/locations/show.html.erb | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/locations/index.html.erb b/app/views/locations/index.html.erb index 919d2af19..ac6e3a0df 100644 --- a/app/views/locations/index.html.erb +++ b/app/views/locations/index.html.erb @@ -12,7 +12,6 @@
<%= render SubNavigationComponent.new(items: scheme_items(request.path, @scheme.id, "Locations")) %> - <%= govuk_inset_text(text: edit_location_text(@scheme, current_user)) %> <%= render partial: "locations/location_filters" %>
diff --git a/app/views/locations/show.html.erb b/app/views/locations/show.html.erb index fcee0a175..5d6044f06 100644 --- a/app/views/locations/show.html.erb +++ b/app/views/locations/show.html.erb @@ -11,6 +11,8 @@
+ <%= govuk_inset_text(text: edit_location_text(@scheme, current_user)) %> + <%= govuk_summary_list do |summary_list| %> <% display_location_attributes(@location).each do |attr| %> <%= summary_list.row do |row| %>