1 <div component="permissions-table" class="content-permissions-row flex-container-row justify-space-between wrap">
2 <div class="content-permissions-row-label gap-x-m flex-container-row items-center px-l py-m flex">
3 <div class="text-large" title="{{ trans('common.role') }}">
6 <span>{{ $role->display_name }}</span>
8 class="ml-auto flex-none text-small text-primary text-button hover-underline content-permissions-row-toggle-all hide-under-s"
9 refs="permissions-table@toggle-all"
10 >{{ trans('common.toggle_all') }}</button>
12 <div class="flex-container-row justify-space-between gap-x-xl wrap items-center">
14 @include('form.restriction-checkbox', ['name'=>'restrictions', 'label' => trans('common.view'), 'action' => 'view'])
17 @if(!$model instanceof \BookStack\Entities\Models\Page)
18 @include('form.restriction-checkbox', ['name'=>'restrictions', 'label' => trans('common.create'), 'action' => 'create'])
22 @include('form.restriction-checkbox', ['name'=>'restrictions', 'label' => trans('common.update'), 'action' => 'update'])
25 @include('form.restriction-checkbox', ['name'=>'restrictions', 'label' => trans('common.delete'), 'action' => 'delete'])