Sha256: ef32ac609f17edba21032596455797515e9e886f4abcde1545e9e2833b438bc8

Contents?: true

Size: 499 Bytes

Versions: 4

Compression:

Stored size: 499 Bytes

Contents

<h1>Listing users</h1>

<table>
  <tr>
    <th>Username</th>
    <th>Email</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @users.each do |user| %>
  <tr>
    <td><%= user.username %></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, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
slug-engine-0.1.0 test/dummy/app/views/users/index.html.erb
slug-engine-0.0.3 test/dummy/app/views/users/index.html.erb
slug-engine-0.0.2 test/dummy/app/views/users/index.html.erb
slug-engine-0.0.1 test/dummy/app/views/users/index.html.erb