{!! csrf_field() !!}

{{ trans('settings.role_details') }}

@include('form/text', ['name' => 'display_name'])
@include('form/text', ['name' => 'description'])

{{ trans('settings.role_system') }}

{{ trans('settings.role_asset') }}

{{ trans('settings.role_asset_desc') }}

{{ trans('common.create') }} {{ trans('common.view') }} {{ trans('common.edit') }} {{ trans('common.delete') }}
{{ trans('entities.books') }}
{{ trans('entities.chapters') }}
{{ trans('entities.pages') }}
{{ trans('entities.images') }} @include('settings/roles/checkbox', ['permission' => 'image-create-all']) {{ trans('settings.role_controlled_by_asset') }}
{{ trans('entities.attachments') }} @include('settings/roles/checkbox', ['permission' => 'attachment-create-all']) {{ trans('settings.role_controlled_by_asset') }}
{{ trans('common.cancel') }}

{{ trans('settings.role_users') }}

@if(isset($role) && count($role->users) > 0) @foreach($role->users as $user) @endforeach
{{ $user->name }} @if(userCan('users-manage') || $currentUser->id == $user->id) id}") }}"> @endif {{ $user->name }} @if(userCan('users-manage') || $currentUser->id == $user->id) @endif
@else

{{ trans('settings.role_users_none') }}

@endif