Sha256: cdb3294cd7eb70d853a36957e1b869a16ffa4607bce21c1202dd394ace5d0e31

Contents?: true

Size: 617 Bytes

Versions: 34

Compression:

Stored size: 617 Bytes

Contents

<h1>Listing users</h1>

<table>
  <tr>
    <th>Name</th>
    <th>#Comments</th>
    <th>Badges</th>
    <th>Points</th>
  </tr>

<% @users.each do |user| %>
  <tr>
    <td><%= user.name %></td>
    <td><%= user.comments.count %></td>
    <td><%= user.show_badges %></td>
    <td><%= user.points %></td>
    <td><%= user.points(category: 'vote') %></td>
    <td><%= link_to 'Show', user %>
    - <%= link_to 'Edit', edit_user_path(user) %>
    - <%= link_to 'Destroy', user, data: { :confirm => 'Are you sure?' }, :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

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

Version data entries

34 entries across 34 versions & 2 rubygems

Version Path
merit-4.0.3 test/dummy/app/views/users/index.html.erb
qalam_merit-4.5.12 test/dummy/app/views/users/index.html.erb
merit-4.0.2 test/dummy/app/views/users/index.html.erb
qalam_merit-4.5.11 test/dummy/app/views/users/index.html.erb
qalam_merit-4.5.10 test/dummy/app/views/users/index.html.erb
qalam_merit-4.5.09 test/dummy/app/views/users/index.html.erb
qalam_merit-4.5.08 test/dummy/app/views/users/index.html.erb
qalam_merit-4.5.07 test/dummy/app/views/users/index.html.erb
qalam_merit-4.5.06 test/dummy/app/views/users/index.html.erb
qalam_merit-4.5.05 test/dummy/app/views/users/index.html.erb
qalam_merit-4.5.04 test/dummy/app/views/users/index.html.erb
qalam_merit-4.5.03 test/dummy/app/views/users/index.html.erb
qalam_merit-4.5.02 test/dummy/app/views/users/index.html.erb
qalam_merit-4.5.01 test/dummy/app/views/users/index.html.erb
qalam_merit-4.5.00 test/dummy/app/views/users/index.html.erb
qalam_merit-4.0.4 test/dummy/app/views/users/index.html.erb
qalam_merit-4.0.35 test/dummy/app/views/users/index.html.erb
merit-4.0.1 test/dummy/app/views/users/index.html.erb
merit-4.0.0 test/dummy/app/views/users/index.html.erb
merit-3.0.3 test/dummy/app/views/users/index.html.erb