diff --git a/app/views/organisations/show.html.erb b/app/views/organisations/show.html.erb index e12acad90..1174a5b10 100644 --- a/app/views/organisations/show.html.erb +++ b/app/views/organisations/show.html.erb @@ -21,11 +21,16 @@ <% end %> <% end %> <%= component.tab(label: "Users") do |tab| %> - <%= govuk_summary_list do |summary_list| %> + <%= govuk_table do |table| %> + <%= table.head do |head| %> + <%= head.row do |row| + row.cell(header: true, text: "Name and email adress") + row.cell(header: true, text: "Organisation and role") + row.cell(header: true, text: "Last logged in") + end %> + <% end %> <% @organisation.users.each do |user| %> - <%= summary_list.row do |row| - row.value { simple_format([user.name, user.email].join("\n"), {}, wrapper_tag: "div") } - end %> + <% end %> <% end %> <% end %>