Sha256: 2344ee8d50080c7a3577a808f0ddcad2c5c1130d8796e19cfa2a9981838ace9e

Contents?: true

Size: 716 Bytes

Versions: 3

Compression:

Stored size: 716 Bytes

Contents

<h1>Listing users</h1>

<table>
  <thead>
    <tr>
      <th>Username</th>
      <th>User image id</th>
      <th>User image</th>
      <th></th>
      <th></th>
      <th></th>
    </tr>
  </thead>

  <tbody>
    <% @users.each do |user| %>
    <tr>
      <td><%= user.username %></td>
      <td><%= user.user_image_holder.try(:id) %></td>
      <td><%= image_tag image_thumb_path user if user.user_image_holder %></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 %>
  </tbody>
</table>

<br />

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
watarase-0.0.4 test/dummy/app/views/users/index.html.erb
watarase-0.0.3 test/dummy/app/views/users/index.html.erb
watarase-0.0.2 test/dummy/app/views/users/index.html.erb