Revision 82e47ae0
Added by Amos Benari about 12 years ago
- ID 82e47ae0f86994702c3a084cc6150250a81034ee
app/views/users/index.html.erb | ||
---|---|---|
|
||
<% title_actions display_link_if_authorized("New User", hash_for_new_user_path) %>
|
||
|
||
<table class="list">
|
||
<table class="table table-bordered table-striped">
|
||
<tr>
|
||
<th><%= sort :login %></th>
|
||
<th><%= sort :firstname %></th>
|
||
... | ... | |
<td><%=checked_icon user.admin? %></td>
|
||
<td><%=h last_login_on_column(user)%></td>
|
||
<td><%=h auth_source_column(user)%></td>
|
||
<td><%= display_link_if_authorized "Delete", hash_for_user_path(:id => user, :auth_action => :destroy), :confirm => "Delete #{user.name}?", :method => :delete %></td>
|
||
<td><%= display_delete_if_authorized hash_for_user_path(:id => user), :confirm => "Delete #{user.name}?" %></td>
|
||
</tr>
|
||
<% end %>
|
||
</table>
|
Also available in: Unified diff
updates UI to bootstrap v2