diff --git a/app/views/organisations/show.html.erb b/app/views/organisations/show.html.erb index 29a0e69b3..de198e0bf 100644 --- a/app/views/organisations/show.html.erb +++ b/app/views/organisations/show.html.erb @@ -9,15 +9,11 @@ Your Organisation -
+<%= govuk_summary_list do |summary_list| %> <% @organisation.display_attributes.each do |attr, val| %> -
-
- <%= attr.to_s.humanize %> -
-
- <%= simple_format(val, {}, wrapper_tag: "div") %> -
-
+ <%= summary_list.row do |row| + row.key { attr.to_s.humanize } + row.value { simple_format(val, {}, wrapper_tag: "div") } + end %> <% end %> -
+<% end %>