Sha256: cd99cd5f9a82a277cf9053c450f9f4462c67036ae25e84324981245253f5c2c8

Contents?: true

Size: 394 Bytes

Versions: 8

Compression:

Stored size: 394 Bytes

Contents

- provide :title, 'Roles'

.index-header
  %h1= pluralize(@roles.count, 'Role')
  = link_to 'New Role', new_role_path, class: 'btn btn--small'
  %p
    Manage the different roles and permissions in your store.

%table
  %thead
    %th Name
    %th Edit
  %tbody
    - @roles.each do |role|
      %tr
        %td= role.name
        %td= link_to 'Edit', edit_role_path(role), class: 'table_icon'

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
cd2_catton_cms-1.1.35 app/views/c/admin/roles/index.html.haml
cd2_catton_cms-1.1.34 app/views/c/admin/roles/index.html.haml
cd2_catton_cms-1.1.33 app/views/c/admin/roles/index.html.haml
cd2_catton_cms-1.1.32 app/views/c/admin/roles/index.html.haml
cd2_catton_cms-1.1.31 app/views/c/admin/roles/index.html.haml
cd2_catton_cms-1.1.30 app/views/c/admin/roles/index.html.haml
cd2_catton_cms-1.1.20 app/views/c/admin/roles/index.html.haml
cd2_catton_cms-1.1.10 app/views/c/admin/roles/index.html.haml