|
|
|
@ -10,11 +10,13 @@ |
|
|
|
|
|
|
|
|
|
|
|
<%= render partial: "organisations/headings", locals: { main: @scheme.service_name, sub: nil } %> |
|
|
|
<%= render partial: "organisations/headings", locals: { main: @scheme.service_name, sub: nil } %> |
|
|
|
|
|
|
|
|
|
|
|
<%= render SubNavigationComponent.new(items: scheme_items(request.path, @scheme.id, "Locations")) %> |
|
|
|
<div class="govuk-grid-row"> |
|
|
|
|
|
|
|
<div class="govuk-grid-column-two-thirds-from-desktop"> |
|
|
|
|
|
|
|
<%= render SubNavigationComponent.new(items: scheme_items(request.path, @scheme.id, "Locations")) %> |
|
|
|
|
|
|
|
|
|
|
|
<h2 class="govuk-visually-hidden">Scheme</h2> |
|
|
|
<h2 class="govuk-visually-hidden">Scheme</h2> |
|
|
|
|
|
|
|
|
|
|
|
<%= govuk_summary_list do |summary_list| %> |
|
|
|
<%= govuk_summary_list do |summary_list| %> |
|
|
|
<% display_scheme_attributes(@scheme).each do |attr| %> |
|
|
|
<% display_scheme_attributes(@scheme).each do |attr| %> |
|
|
|
<% next if current_user.data_coordinator? && attr[:name] == ("Housing stock owned by") %> |
|
|
|
<% next if current_user.data_coordinator? && attr[:name] == ("Housing stock owned by") %> |
|
|
|
<%= summary_list.row do |row| %> |
|
|
|
<%= summary_list.row do |row| %> |
|
|
|
@ -23,7 +25,10 @@ |
|
|
|
<% row.action(text: "Change", href: scheme_edit_name_path(scheme_id: @scheme.id)) if attr[:edit] %> |
|
|
|
<% row.action(text: "Change", href: scheme_edit_name_path(scheme_id: @scheme.id)) if attr[:edit] %> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<% if FeatureToggle.scheme_toggle_enabled? %> |
|
|
|
<% if FeatureToggle.scheme_toggle_enabled? %> |
|
|
|
<% if @scheme.active? || @scheme.reactivating_soon? %> |
|
|
|
<% if @scheme.active? || @scheme.reactivating_soon? %> |
|
|
|
|