diff options
-rw-r--r-- | app/views/mini_environments/show.html.erb | 22 |
1 files changed, 22 insertions, 0 deletions
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 </div> </div> +<h2>Initial Signon Users</h2> + +<table class="table table-bordered table-hover"> + <thead> + <tr class="table-header"> + <th>Name</th> + <th>Email Address</th> + <th>Role</th> + <th>Passphrase</th> + </tr> + </thead> + <tbody> + <% @mini_environment.signon_users.each do |user| %> + <tr> + <% %w[name email role passphrase].each do |field| %> + <td><%= user[field] %></td> + <% end %> + </tr> + <% end %> + </tbody> +</table> + <h2>Jobs</h2> <%= render( |