From f8c5b73939f4ad7ac0c18bb81c6b25da3e4c8ba0 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Thu, 3 May 2018 21:29:30 +0100 Subject: Display the initial Signon users on the show page --- app/views/mini_environments/show.html.erb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'app/views') diff --git a/app/views/mini_environments/show.html.erb b/app/views/mini_environments/show.html.erb index d380aaf..b7241a8 100644 --- a/app/views/mini_environments/show.html.erb +++ b/app/views/mini_environments/show.html.erb @@ -59,6 +59,28 @@ License along with the GOV.UK Mini Environment Admin. If not, see +

Initial Signon Users

+ + + + + + + + + + + + <% @mini_environment.signon_users.each do |user| %> + + <% %w[name email role passphrase].each do |field| %> + + <% end %> + + <% end %> + +
NameEmail AddressRolePassphrase
<%= user[field] %>
+

Jobs

<%= render( -- cgit v1.2.3