This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
2012-02-07 08:16:48 +00:00
|
|
|
<% content_for :secondary do %>
|
|
|
|
<% #render 'side_bar' %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<div class="main_list">
|
|
|
|
<%= flash_messages %>
|
|
|
|
<div class="button_bar up">
|
2012-09-12 11:12:50 +00:00
|
|
|
<% #link_to t('new.user'), new_admin_user_path, :class => 'new' %>
|
2012-02-07 08:16:48 +00:00
|
|
|
</div>
|
|
|
|
<table>
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2012-09-12 11:12:50 +00:00
|
|
|
<td><%= t(:title) %></td>
|
|
|
|
<td><%= t(:type) %></td>
|
2012-02-07 08:16:48 +00:00
|
|
|
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<% @object_auths.each do |object_auth| %>
|
|
|
|
<tr>
|
|
|
|
<td class="name"><%= object_auth.title %></td>
|
|
|
|
<td class="name"><%= object_auth.obj_authable_type.to_s %></td>
|
|
|
|
|
|
|
|
<td class="action">
|
|
|
|
<%= link_to t(:show), admin_object_auth_path(object_auth), :class => 'show' %>
|
|
|
|
<%= link_to t(:edit), edit_admin_object_auth_path(object_auth), :class => 'edit' %>
|
|
|
|
<%= link_to t(:delete), admin_object_auth_path(object_auth), :class => 'delete', :confirm => t('sure?'), :method => :delete %>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td colspan="5"></td>
|
|
|
|
</tr>
|
|
|
|
<% end %>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<div class="button_bar">
|
2012-09-12 11:12:50 +00:00
|
|
|
<%# link_to t('new.user'), new_admin_user_path, :class => 'new' %>
|
2012-02-07 08:16:48 +00:00
|
|
|
</div>
|
|
|
|
</div>
|