Sha256: 7928ffd97ad9b94cc411d87343379490b0958636fdfd3b59c72adf835221a8ab

Contents?: true

Size: 659 Bytes

Versions: 2

Compression:

Stored size: 659 Bytes

Contents

<h1>Listing roles</h1>

<table>
  <thead>
    <tr>
      <th>Role group</th>
      <th>Permissions</th>
      <th>Restrictions</th>
      <th colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% @roles.each do |role| %>
      <tr>
        <td><%= role.role_group %></td>
        <td><%= role.permissions %></td>
        <td><%= role.restrictions %></td>
        <td><%= link_to 'Show', role %></td>
        <td><%= link_to 'Edit', edit_role_path(role) %></td>
        <td><%= link_to 'Destroy', role, method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Role', new_role_path %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
request_refinery-0.0.2 app/views/request_refinery/roles/index.html.erb
request_refinery-0.0.1 app/views/request_refinery/roles/index.html.erb