Sha256: 9e784e0fb08284c1f3a762278c591e7ccbd805d2d31583b27d95e4a013582ca0

Contents?: true

Size: 336 Bytes

Versions: 6

Compression:

Stored size: 336 Bytes

Contents

<h2><%= t('role-management.index.title') %></h2>
<ul>
  <% @roles.each do |role| %>
    <li><%=link_to role.name, role_management.role_path(role) %></li>
  <% end %>
</ul>

<% if can? :create, Role %>
  <%= button_to t('role-management.index.create'), role_management.new_role_path, method: :get, class: 'btn btn-primary' %>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
hydra-role-management-1.2.0 app/views/roles/index.html.erb
hydra-role-management-1.1.0 app/views/roles/index.html.erb
hydra-role-management-1.0.3 app/views/roles/index.html.erb
hydra-role-management-1.0.2 app/views/roles/index.html.erb
hydra-role-management-1.0.1 app/views/roles/index.html.erb
hydra-role-management-1.0.0 app/views/roles/index.html.erb