Sha256: 3d3aee343b45d24e73c5d654dda2d93c8ce4737cb65b40bf67ece98079776419

Contents?: true

Size: 1.15 KB

Versions: 15

Compression:

Stored size: 1.15 KB

Contents

<%=content_for :data_controls do%>
<%=link_to "New User",new_spud_admin_user_path(),:class => "ajax button",: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,spud_admin_user_path(:id => user.id)%></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 "Edit",edit_spud_admin_user_path(:id => user.id),:class => "ajax", :title => "Edit User"%>&nbsp;|&nbsp;<%=link_to "Remove",spud_admin_user_path(:id => user.id),:method => :delete,:remote => true,:confirm => "Are you sure you want to remove this user?"%></td>
				</tr>
			<%end%>
		</tbody>
		<tfoot>
			<tr>
				<td colspan="6">
					<%=will_paginate @users%>
				</td>
			</tr>
		</tfoot>
	</table>

<%end%>

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
spud_core-0.7.5 app/views/spud/admin/users/index.html.erb
spud_core-0.7.4 app/views/spud/admin/users/index.html.erb
spud_core-0.7.2 app/views/spud/admin/users/index.html.erb
spud_core-0.7.1 app/views/spud/admin/users/index.html.erb
spud_core-0.7.0 app/views/spud/admin/users/index.html.erb
spud_core-0.6.4 app/views/spud/admin/users/index.html.erb
spud_core-0.6.2 app/views/spud/admin/users/index.html.erb
spud_core-0.5.6 app/views/spud/admin/users/index.html.erb
spud_core-0.5.5 app/views/spud/admin/users/index.html.erb
spud_core-0.5.2 app/views/spud/admin/users/index.html.erb
spud_core-0.5.1 app/views/spud/admin/users/index.html.erb
spud_core-0.5.0 app/views/spud/admin/users/index.html.erb
spud_core-0.4.0 app/views/spud/admin/users/index.html.erb
spud_admin-0.2.0 app/views/spud/admin/users/index.html.erb
spud_admin-0.1.0 app/views/spud/admin/users/index.html.erb