diff options
author | AndrewMurrell <amurrel@purdue.edu> | 2014-02-18 20:42:51 -0500 |
---|---|---|
committer | AndrewMurrell <amurrel@purdue.edu> | 2014-02-18 20:42:51 -0500 |
commit | 96b97d691f6889004c38bef15411bc27e448fda1 (patch) | |
tree | 7105a54b40fc11ca38a67ff2f520cc977532da44 /app/views/users/index.html.erb | |
parent | 1b95d76d2bded709f512ccdca851388b8691708f (diff) |
Changes to generate.sh
Diffstat (limited to 'app/views/users/index.html.erb')
-rw-r--r-- | app/views/users/index.html.erb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb index 24a2548..14739ae 100644 --- a/app/views/users/index.html.erb +++ b/app/views/users/index.html.erb @@ -3,6 +3,9 @@ <table> <thead> <tr> + <th>Name</th> + <th>Pw hash</th> + <th>Groups</th> <th></th> <th></th> <th></th> @@ -12,6 +15,9 @@ <tbody> <% @users.each do |user| %> <tr> + <td><%= user.name %></td> + <td><%= user.pw_hash %></td> + <td><%= user.groups %></td> <td><%= link_to 'Show', user %></td> <td><%= link_to 'Edit', edit_user_path(user) %></td> <td><%= link_to 'Destroy', user, method: :delete, data: { confirm: 'Are you sure?' } %></td> |