Sha256: 11132518cfc30f6820c168f535e021485f9a9013c48c7ef01f785aafb3630216

Contents?: true

Size: 623 Bytes

Versions: 2

Compression:

Stored size: 623 Bytes

Contents

<h1>Listing permissions</h1>

<table>
  <thead>
    <tr>
      <th>Name</th>
      <th colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% @permissions.each do |permission| %>
      <tr>
        <td><%= permission.name %></td>
        <td><%= link_to 'Show', permission %></td>
        <td><%= link_to 'Edit', edit_permission_path(permission) %></td>
        <% if authorized_to? :all %>
        <td><%= link_to 'Destroy', permission, method: :delete, data: { confirm: 'Are you sure?' } %></td>

        <%end%>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Permission', new_permission_path %>

Version data entries

2 entries across 2 versions & 1 rubygems

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