Sha256: ae20b12c02ea9cc9f64cd9abdc0233990a80d522473689bbb162224a0dacfead

Contents?: true

Size: 1.24 KB

Versions: 23

Compression:

Stored size: 1.24 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%>&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

23 entries across 23 versions & 2 rubygems

Version Path
spud_core-0.9.22 app/views/spud/admin/users/index.html.erb
spud_core-0.9.21 app/views/spud/admin/users/index.html.erb
spud_core-0.9.20 app/views/spud/admin/users/index.html.erb
spud_core-0.9.19 app/views/spud/admin/users/index.html.erb
tb_core-1.0.2 app/views/spud/admin/users/index.html.erb
spud_core-0.9.18 app/views/spud/admin/users/index.html.erb
tb_core-1.0.1 app/views/spud/admin/users/index.html.erb
tb_core-1.0 app/views/spud/admin/users/index.html.erb
tb_core-0.9.19 app/views/spud/admin/users/index.html.erb
tb_core-0.9.18 app/views/spud/admin/users/index.html.erb
tb_core-0.9.17 app/views/spud/admin/users/index.html.erb
spud_core-0.9.17 app/views/spud/admin/users/index.html.erb
spud_core-0.9.16 app/views/spud/admin/users/index.html.erb
spud_core-0.9.15 app/views/spud/admin/users/index.html.erb
spud_core-0.9.14 app/views/spud/admin/users/index.html.erb
spud_core-0.9.12 app/views/spud/admin/users/index.html.erb
spud_core-0.9.11 app/views/spud/admin/users/index.html.erb
spud_core-0.9.10 app/views/spud/admin/users/index.html.erb
spud_core-0.9.9 app/views/spud/admin/users/index.html.erb
spud_core-0.9.8 app/views/spud/admin/users/index.html.erb