Sha256: 0eca72933e83a9d5ee03fbc542d4dcd7565114806efaff79568f052ee37a82bb

Contents?: true

Size: 607 Bytes

Versions: 3

Compression:

Stored size: 607 Bytes

Contents

<h1>Listing users</h1>

<table>
  <tr>
    <th>Name</th>
    <th>Last name</th>
    <th>Address</th>
    <th>Email</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

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

3 entries across 3 versions & 1 rubygems

Version Path
axlsx_rails-0.1.2 spec/dummy/app/views/users/index.html.erb
axlsx_rails-0.1.1 spec/dummy/app/views/users/index.html.erb
axlsx_rails-0.1.0 spec/dummy/app/views/users/index.html.erb