|
|
|
@ -10,10 +10,9 @@
|
|
|
|
|
|
|
|
|
|
<%= render partial: "organisations/headings", locals: { main: @location.postcode, sub: @location.name } %> |
|
|
|
|
|
|
|
|
|
<h2 class="govuk-visually-hidden">Location</h2> |
|
|
|
|
|
|
|
|
|
<div class="govuk-grid-row"> |
|
|
|
|
<div class="govuk-grid-column-two-thirds-from-desktop" %> |
|
|
|
|
<%= govuk_summary_list do |summary_list| %> |
|
|
|
|
|
|
|
|
|
<% @location.display_attributes.each do |attr| %> |
|
|
|
|
<%= summary_list.row do |row| %> |
|
|
|
|
<% row.key { attr[:name] } %> |
|
|
|
@ -23,6 +22,8 @@
|
|
|
|
|
<% end %> |
|
|
|
|
<% end %> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<% if !Rails.env.production? %> |
|
|
|
|
<%= govuk_button_link_to "Deactivate this location", location_deactivate_path(location_id: @location.id, id: @scheme.id), warning: true %> |
|
|
|
|
<% end %> |
|
|
|
|