Sha256: c78a1f3fc34023e1666fc2f687d622964e03f9944f3037ad8f2bd259c427de95
Contents?: true
Size: 732 Bytes
Versions: 1
Compression:
Stored size: 732 Bytes
Contents
<%= render :partial => 'spree/admin/shared/configuration_menu' %> <% content_for :page_title do %> <%= Spree.t(:listing_roles) %> <% end %> <% content_for :page_actions do %> <li> <%= button_link_to Spree.t(:new_role), new_admin_role_path %> </li> <% end %> <%= paginate @roles %> <table class='index'> <thead> <tr> <th><%= Spree.t(:name) %></th> </tr> </thead> <tbody> <% @roles.each do |role| %> <tr class="<%= cycle('odd', 'even') %>"> <td class="align-center"><%= role.name %></td> <% if role.editable? %> <td class="actions"><%= link_to_edit role, :no_text => true, :class => 'edit' %></td> <% end %> </tr> <% end %> </tbody> </table>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spree_admin_roles_and_access-1.3.0 | app/views/spree/admin/roles/index.html.erb |