summaryrefslogtreecommitdiff
path: root/app/views/users
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/users')
-rw-r--r--app/views/users/index.html.erb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb
index c128661..d92da4d 100644
--- a/app/views/users/index.html.erb
+++ b/app/views/users/index.html.erb
@@ -3,6 +3,7 @@
<table class="table table-hover">
<thead>
<tr>
+ <th>Username</th>
<th>Name</th>
<th>Pw hash</th>
<th></th>
@@ -14,7 +15,8 @@
<tbody>
<% @users.each do |user| %>
<tr>
- <td><%= link_to("#{user.name}", user, nil) %></td>
+ <td><%= link_to("#{user.user_name}", user, nil) %></td>
+ <td><%= user.name %></td>
<td> ******* </td>
<td><%= link_to 'Edit', edit_user_path(user) %></td>
<td><%= link_to 'Destroy', user, method: :delete, data: { confirm: 'Are you sure?' } %></td>