Sha256: 97eb4469eaf49267a937e3b213c78612d12362621794f7f52d84b756e4ac8bd2
Contents?: true
Size: 1.04 KB
Versions: 13
Compression:
Stored size: 1.04 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;text-decoration:none"} %> <%= 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
13 entries across 13 versions & 1 rubygems