blob: 4f6c511b4fae08d9071306443ea0a98a2fe94590 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
- content_for :page_title do
= t('admin.roles.title')
- content_for :heading_actions do
= link_to t('admin.roles.add_new'), new_admin_role_path, class: 'button' if can?(:create, :user_role)
%p= t('admin.roles.description_html')
%hr.spacer/
.applications-list
= render partial: 'role', collection: @roles.select(&:everyone?)
%hr.spacer/
.applications-list
= render partial: 'role', collection: @roles.reject(&:everyone?)
|