5 changed files with 26 additions and 15 deletions
@ -1,8 +0,0 @@
|
||||
<%= 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, {}, wrapper_tag: "div") } |
||||
end %> |
||||
<% end %> |
||||
<% end %> |
@ -1,3 +1,19 @@
|
||||
<% content_for :before_content do %> |
||||
<%= govuk_back_link( |
||||
text: 'Back', |
||||
href: :back, |
||||
) %> |
||||
<% end %> |
||||
|
||||
<h1 class="govuk-heading-l"> |
||||
Your Organisation |
||||
</h1> |
||||
|
||||
<%= render TabNavigationComponent.new(items: [ |
||||
{ name: t('Details'), url: details_organisation_path(@organisation) }, |
||||
{ name: t('Users'), url: users_organisation_path(@organisation) }, |
||||
]) %> |
||||
|
||||
<%= govuk_table do |table| %> |
||||
<%= table.head do |head| %> |
||||
<%= head.row do |row| |
Loading…
Reference in new issue