Sha256: fb857aa995a1248e0f4fe2833cebd095cf5bf87e96b91efbe3f5c2149906d7c0

Contents?: true

Size: 585 Bytes

Versions: 11

Compression:

Stored size: 585 Bytes

Contents

<h1>Listing users</h1>

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

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

<br>

<%= link_to 'New User', new_user_path %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
prosperity-0.0.11 spec/dummy/app/views/users/index.html.erb
prosperity-0.0.10 spec/dummy/app/views/users/index.html.erb
prosperity-0.0.9 spec/dummy/app/views/users/index.html.erb
prosperity-0.0.8 spec/dummy/app/views/users/index.html.erb
prosperity-0.0.7 spec/dummy/app/views/users/index.html.erb
prosperity-0.0.6 spec/dummy/app/views/users/index.html.erb
prosperity-0.0.5 spec/dummy/app/views/users/index.html.erb
prosperity-0.0.4 spec/dummy/app/views/users/index.html.erb
prosperity-0.0.3 spec/dummy/app/views/users/index.html.erb
prosperity-0.0.2 spec/dummy/app/views/users/index.html.erb
prosperity-0.0.1 spec/dummy/app/views/users/index.html.erb