Sha256: 8ad930abfbe0d12927521ef29beafe3fdaeb0e45f24bf5d603d939ac1296b6da

Contents?: true

Size: 783 Bytes

Versions: 9

Compression:

Stored size: 783 Bytes

Contents

<%= render :partial => 'menu' -%>

<%= link_to "Add User", :action => 'new' -%>

<br/><br/>      

<h1>Listing users</h1>
<table class="admin-report">
  <tr>
    <td><b>Login</b></td>
    <td><b>Email</b></td>
    <td/>
  </tr>
<% for user in @users%>
  <tr class="<%= cycle('even', 'odd') %>">
    <td valign="top"><%=user.login%></td>
    <td valign="top"><%=user.email%></td>
    <td valign="top">
      <%= link_to "Show", :action => 'show', :id => user -%>
      <%= link_to "Edit", :action => 'edit', :id => user -%>
      <%= link_to "Delete", {:action => 'destroy', :id => user}, :confirm => "Are you sure you want to delete this user?" -%>
    </td>
  </tr>
<% end %>
</table>
<%= render :partial => 'shared/paginate', :locals => {:collection => @users, :options => {}} -%>

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
railscart-0.0.1 starter-app/vendor/plugins/railscart/app/views/admin/users/index.rhtml
railscart-0.0.2 starter_app/vendor/plugins/railscart/app/views/admin/users/index.rhtml
railscart-0.0.3 starter_app/vendor/plugins/railscart/app/views/admin/users/index.rhtml
railscart-0.0.4 starter_app/vendor/plugins/railscart/app/views/admin/users/index.rhtml
spree-0.0.6 starter-app/vendor/plugins/spree/app/views/admin/users/index.rhtml
spree-0.0.5 starter-app/vendor/plugins/spree/app/views/admin/users/index.rhtml
spree-0.0.8 starter-app/vendor/plugins/spree/app/views/admin/users/index.rhtml
spree-0.0.7 starter-app/vendor/plugins/spree/app/views/admin/users/index.rhtml
spree-0.0.9 app/views/admin/users/index.rhtml