Sha256: ce6f5f9bedefc666a31e92ab34e637b9d657784be9c86a35e74cac51dd74d278
Contents?: true
Size: 515 Bytes
Versions: 3
Compression:
Stored size: 515 Bytes
Contents
<h1>Listing users</h1> <table> <tr> <th>First name</th> <th>Last name</th> <th></th> <th></th> <th></th> </tr> <% @users.each do |user| %> <tr> <td><%= user.first_name %></td> <td><%= user.last_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> <% end %> </table> <br /> <%= link_to 'New User', new_user_path %>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
marilyne-1.1.0 | test/dummy/app/views/users/index.html.erb |
marilyne-1.0.1 | test/dummy/app/views/users/index.html.erb |
marilyne-1.0.0 | test/dummy/app/views/users/index.html.erb |