Sha256: c388d78303ea0b913eaf5223e7855f688f3e7e57c5f0a65de78f5f2076d5eabe

Contents?: true

Size: 288 Bytes

Versions: 6

Compression:

Stored size: 288 Bytes

Contents

<h2>Roles</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 "Create a new role", 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-0.2.2 app/views/roles/index.html.erb
hydra-role-management-0.2.1 app/views/roles/index.html.erb
hydra-role-management-0.2.0 app/views/roles/index.html.erb
hydra-role-management-0.1.0 app/views/roles/index.html.erb
hydra-role-management-0.0.2 app/views/roles/index.html.erb
hydra-role-management-0.0.1 app/views/roles/index.html.erb