<% content_for :title, "Your organisation (Details)" %> <% content_for :tab_title do %> <%= "Details" %> <% end %>
<%= govuk_summary_list do |summary_list| %> <% @organisation.display_attributes.each do |attr, val| %> <%= summary_list.row do |row| row.key { attr.to_s.humanize } row.value { simple_format(val.to_s, {}, wrapper_tag: "div") } end %> <% end %> <% end %>