Sha256: e0aa7c89391cfb21185a7a0bea7e5d79a77495f78cea9af4be8c4c1fe211b593

Contents?: true

Size: 615 Bytes

Versions: 15

Compression:

Stored size: 615 Bytes

Contents

<h1>Listing users</h1>

<table>
  <tr>
    <th>First name</th>
    <th>Last name</th>
    <th>Email</th>
    <th>Phone</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

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

15 entries across 15 versions & 1 rubygems

Version Path
mail_manager-3.2.25.1 spec/test_app/app/views/users/index.html.erb
mail_manager-3.2.22.0 spec/test_app/app/views/users/index.html.erb
mail_manager-3.2.7 spec/test_app/app/views/users/index.html.erb
mail_manager-3.2.6 spec/test_app/app/views/users/index.html.erb
mail_manager-3.2.5 spec/test_app/app/views/users/index.html.erb
mail_manager-3.2.4 spec/test_app/app/views/users/index.html.erb
mail_manager-3.2.2 spec/test_app/app/views/users/index.html.erb
mail_manager-3.2.1 spec/test_app/app/views/users/index.html.erb
mail_manager-3.2.0 spec/test_app/app/views/users/index.html.erb
mail_manager-3.0.0 spec/test_app/app/views/users/index.html.erb
mail_manager-0.1.4 spec/test_app/app/views/users/index.html.erb
mail_manager-0.1.2 spec/test_app/app/views/users/index.html.erb
mail_manager-0.1.1 spec/test_app/app/views/users/index.html.erb
mail_manager-0.1.0 spec/test_app/app/views/users/index.html.erb
mail_manager-0.0.1 spec/test_app/app/views/users/index.html.erb