diff options
Diffstat (limited to 'app/views/users/index.html.erb')
-rw-r--r-- | app/views/users/index.html.erb | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb index c0d52a0..d7b46da 100644 --- a/app/views/users/index.html.erb +++ b/app/views/users/index.html.erb @@ -1,13 +1,13 @@ <h1>Listing users</h1> -<table> +<table class="table table-hover"> <thead> <tr> + <th>Username</th> <th>Name</th> <th>Email</th> <th>User name</th> - <th>Password digest</th> - <th>Remember token</th> + <th></th> <th></th> <th></th> <th></th> @@ -17,11 +17,10 @@ <tbody> <% @users.each do |user| %> <tr> + <td><%= link_to("#{user.user_name}", user, nil) %></td> <td><%= user.name %></td> - <td><%= user.email %></td> + <td> ******* </td> <td><%= user.user_name %></td> - <td><%= user.password_digest %></td> - <td><%= user.remember_token %></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> |