Sha256: 2a2097267c175da2be23a8af87d093fd663df4a7f3a694b2a6b75c7926a54dde
Contents?: true
Size: 1.25 KB
Versions: 3
Compression:
Stored size: 1.25 KB
Contents
<%=content_for :data_controls do%> <%=link_to "New User",new_spud_admin_user_path(),:class => "ajax btn btn-primary",:title => "New User"%> <%end%> <%=content_for :detail do%> <table class="admin-table data-table" id="usertable"> <thead> <tr> <th><%= sortable "login"%></th> <th><%= sortable "email"%></th> <th><%= sortable "first_name", "Name"%></th> <th><%= sortable "last_login_at", "Last Login"%></th> <th><%= sortable "created_at", "Date Created"%></th> <th></th> </tr> </thead> <tbody> <%@users.each do |user|%> <tr id="row_user_<%=user.id%>"> <td><%=link_to user.login,edit_spud_admin_user_path(:id => user.id),:class => "ajax", :title => "Edit #{user.login}"%></td> <td><%=user.email%></td> <td><%=user.first_name%> <%=user.last_name%></td> <td><%=timestamp user.last_login_at%></td> <td><%=timestamp user.created_at%></td> <td align="right"><%=link_to "Remove",spud_admin_user_path(:id => user.id),:method => :delete,:remote => true,:data => {:confirm => "Are you sure you want to remove this user?"},:class => "btn btn-danger"%></td> </tr> <%end%> </tbody> <tfoot> <tr> <td colspan="6"> <%=will_paginate @users%> </td> </tr> </tfoot> </table> <%end%>
Version data entries
3 entries across 3 versions & 1 rubygems