|
|
@ -8,7 +8,6 @@ |
|
|
|
<div class="govuk-grid-column-two-thirds-from-desktop"> |
|
|
|
<div class="govuk-grid-column-two-thirds-from-desktop"> |
|
|
|
<%= govuk_summary_list do |summary_list| %> |
|
|
|
<%= govuk_summary_list do |summary_list| %> |
|
|
|
<% @organisation.display_attributes.each do |attr| %> |
|
|
|
<% @organisation.display_attributes.each do |attr| %> |
|
|
|
|
|
|
|
|
|
|
|
<% if can_edit_org?(current_user) && attr[:editable] %> |
|
|
|
<% if can_edit_org?(current_user) && attr[:editable] %> |
|
|
|
<%= summary_list.row do |row| %> |
|
|
|
<%= summary_list.row do |row| %> |
|
|
|
<% row.key { attr[:name].to_s.humanize } %> |
|
|
|
<% row.key { attr[:name].to_s.humanize } %> |
|
|
|