Sha256: 76eb272a9dd48b471661b7e354c7bc82faa4090cb95f58aee33cb05f609bd06a

Contents?: true

Size: 486 Bytes

Versions: 6

Compression:

Stored size: 486 Bytes

Contents

<h1>Listing users</h1>

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

<% @users.each do |user| %>
  <tr>
    <td><%= user.name %></td>
    <td><%= symbolink_to :show, user %></td>
    <td><%= symbolink_to :edit, edit_user_path(user), title: 'Edit' %></td>
    <td><%= symbolink_destroy user, data: { confirm: 'Are you sure?' }, title: 'Destroy' %></td>
  </tr>
<% end %>
</table>

<br />

<%= symbolink_to :add, new_user_path, title: 'New user' %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
symbolink-0.0.7 test/dummy/app/views/users/index.html.erb
symbolink-0.0.6 test/dummy/app/views/users/index.html.erb
symbolink-0.0.5 test/dummy/app/views/users/index.html.erb
symbolink-0.0.4 test/dummy/app/views/users/index.html.erb
symbolink-0.0.3 test/dummy/app/views/users/index.html.erb
symbolink-0.0.2 test/dummy/app/views/users/index.html.erb