Sha256: 9e81236adbf79d8d3249544192d3036ad029625ecb2df2937586bc3393f0746e
Contents?: true
Size: 565 Bytes
Versions: 1
Compression:
Stored size: 565 Bytes
Contents
<h1>Listing users</h1> <table> <tr> <th>Email</th> <th>Name</th> <th>Password digest</th> <th></th> <th></th> <th></th> </tr> <% @users.each do |user| %> <tr> <td><%= user.email %></td> <td><%= user.name %></td> <td><%= user.password_digest %></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> <% end %> </table> <br /> <%= link_to 'New User', new_user_path %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
as_user-0.0.2 | app/views/as_user/users/index.html.erb |