diff options
Diffstat (limited to 'app/views/users/index.html.erb')
-rw-r--r-- | app/views/users/index.html.erb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb index d92da4d..d7b46da 100644 --- a/app/views/users/index.html.erb +++ b/app/views/users/index.html.erb @@ -5,9 +5,11 @@ <tr> <th>Username</th> <th>Name</th> - <th>Pw hash</th> + <th>Email</th> + <th>User name</th> + <th></th> + <th></th> <th></th> - <th></th> </tr> </thead> @@ -18,6 +20,8 @@ <td><%= link_to("#{user.user_name}", user, nil) %></td> <td><%= user.name %></td> <td> ******* </td> + <td><%= user.user_name %></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> </tr> |