Sha256: c9265f0b8393e5e1e2df8d8fa925e71c582eef3abba3031e4eb08745e201d10b

Contents?: true

Size: 1.1 KB

Versions: 25

Compression:

Stored size: 1.1 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>Login</th>
				<th>Email</th>
				<th>Name</th>
				
				<th>Last Login</th>
				<th>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"%></td>
					<td><%=user.email%></td>
					<td><%=user.first_name%>&nbsp;<%=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,: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

25 entries across 25 versions & 1 rubygems

Version Path
spud_core-0.8.28 app/views/spud/admin/users/index.html.erb
spud_core-0.8.27 app/views/spud/admin/users/index.html.erb
spud_core-0.8.26 app/views/spud/admin/users/index.html.erb
spud_core-0.8.25 app/views/spud/admin/users/index.html.erb
spud_core-0.8.24 app/views/spud/admin/users/index.html.erb
spud_core-0.8.23 app/views/spud/admin/users/index.html.erb
spud_core-0.8.22 app/views/spud/admin/users/index.html.erb
spud_core-0.8.21 app/views/spud/admin/users/index.html.erb
spud_core-0.8.20 app/views/spud/admin/users/index.html.erb
spud_core-0.8.19 app/views/spud/admin/users/index.html.erb
spud_core-0.8.18 app/views/spud/admin/users/index.html.erb
spud_core-0.8.17 app/views/spud/admin/users/index.html.erb
spud_core-0.8.16 app/views/spud/admin/users/index.html.erb
spud_core-0.8.15 app/views/spud/admin/users/index.html.erb
spud_core-0.8.13 app/views/spud/admin/users/index.html.erb
spud_core-0.8.12 app/views/spud/admin/users/index.html.erb
spud_core-0.8.11 app/views/spud/admin/users/index.html.erb
spud_core-0.8.10 app/views/spud/admin/users/index.html.erb
spud_core-0.8.8 app/views/spud/admin/users/index.html.erb
spud_core-0.8.7 app/views/spud/admin/users/index.html.erb