Sha256: 59e758d466d489dd8221354952b99a0c7077bd5277a5d8bec588f649472bf664
Contents?: true
Size: 1.02 KB
Versions: 6
Compression:
Stored size: 1.02 KB
Contents
<%= render :partial => 'admin/admin_header' %> <div class="report"> <h2>Users</h2> <%= link_to image_tag("/images/add.png", :border=>0)+" New user", {:action => :new}, {:style => "font-size:12px;"} %> <%= will_paginate @users %> <table width="900px"> <thead> <tr style='font:11px verdana;'> <th style="text-align:left">Name</th> <th style="width:70px"></th> </tr> </thead> <tbody> <% @users.each do |user| -%> <tr class="<%= cycle('odd', 'even') %>"> <td style="text-align:left"><%= user.name %></td> <td><%= link_to image_tag("/images/application_edit.png", :border=>0), {:action => :edit, :id => user.id}, :title => 'Edit' %> <%= link_to image_tag("/images/delete.png", :border=>0), admin_user_path(user), :confirm => 'Are you sure?', :method => :delete, :title => 'Delete' %> </td> </tr> <% end %> </tbody> <tfoot> <tr> <td colspan="3"> <%= page_entries_info @users %> <%= will_paginate @users %> </td> </tr> </tfoot> </table> </div>
Version data entries
6 entries across 6 versions & 1 rubygems