Sha256: 757ecc02a4e5dd20b9e86892f6449c69b026a3f5d174f3b1fdbdeb042832e566

Contents?: true

Size: 623 Bytes

Versions: 3

Compression:

Stored size: 623 Bytes

Contents

<h1>Listing users</h1>

<table>
  <tr>
    <th>Username</th>
    <th>Email</th>
    <th>Crypted password</th>
    <th>Salt</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @users.each do |user| %>
  <tr>
    <td><%= user.username %></td>
    <td><%= user.email %></td>
    <td><%= user.crypted_password %></td>
    <td><%= user.salt %></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
bootup-0.0.4.1 lib/generators/bootup/templates/authentication/views/users/index.html.erb
bootup-0.0.4 lib/generators/bootup/templates/authentication/views/users/index.html.erb
bootup-0.0.3 lib/generators/bootup/templates/authentication/views/users/index.html.erb