Sha256: a035d81340ac3439e826a2c805edfe1eb06a7878c8430f49c1dddb7facce0c37

Contents?: true

Size: 495 Bytes

Versions: 6

Compression:

Stored size: 495 Bytes

Contents

<h1>Listing users</h1>

<table>
  <tr>
    <th>Name</th>
    <th>Email</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @users.each do |user| %>
  <tr>
    <td><%= user.name %></td>
    <td><%= user.email %></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

6 entries across 6 versions & 3 rubygems

Version Path
stuffer-0.0.4 spec/teststuff/app/views/users/index.html.erb
stuffer-0.0.3 spec/teststuff/app/views/users/index.html.erb
stuffer-0.0.2 lib/teststuff/app/views/users/index.html.erb
stuffer-0.0.1 lib/teststuff/app/views/users/index.html.erb
rollout_admin-0.0.6 test/dummy/app/views/users/index.html.erb
routing_data-0.2.1 dummy/app/views/users/index.html.erb