Sha256: f41d6b8a076e056b5699244eaafe9bea074b73dacd8f68fd5a3629dd3288d4dc

Contents?: true

Size: 557 Bytes

Versions: 65

Compression:

Stored size: 557 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><%= link_to 'Show', user %>
    - <%= link_to 'Edit', edit_user_path(user) %>
    - <%= link_to 'Destroy', user, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

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

Version data entries

65 entries across 42 versions & 1 rubygems

Version Path
merit-1.7.1 test/dummy-mongoid/app/views/users/index.html.erb
merit-1.7.0 test/dummy-mongoid/app/views/users/index.html.erb
merit-1.6.2 test/dummy-mongoid/app/views/users/index.html.erb
merit-1.6.1 test/dummy-mongoid/app/views/users/index.html.erb
merit-1.6.0 test/dummy-mongoid/app/views/users/index.html.erb
merit-1.5.0 test/dummy/app/views/users/index.html.erb
merit-1.5.0 test/dummy-mongoid/app/views/users/index.html.erb
merit-1.4.0 test/dummy-mongoid/app/views/users/index.html.erb
merit-1.4.0 test/dummy/app/views/users/index.html.erb
merit-1.3.1 test/dummy-mongoid/app/views/users/index.html.erb
merit-1.3.1 test/dummy/app/views/users/index.html.erb
merit-1.3.0 test/dummy-mongoid/app/views/users/index.html.erb
merit-1.3.0 test/dummy/app/views/users/index.html.erb
merit-1.2.3 test/dummy/app/views/users/index.html.erb
merit-1.2.3 test/dummy-mongoid/app/views/users/index.html.erb
merit-1.2.2 test/dummy/app/views/users/index.html.erb
merit-1.2.2 test/dummy-mongoid/app/views/users/index.html.erb
merit-1.2.1 test/dummy/app/views/users/index.html.erb
merit-1.2.1 test/dummy-mongoid/app/views/users/index.html.erb
merit-1.2.0 test/dummy-mongoid/app/views/users/index.html.erb