mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
7 lines
294 B
PHP
7 lines
294 B
PHP
|
|
@include('components.custom-checkbox', [
|
|
'name' => 'permissions[' . $permission . ']',
|
|
'value' => 'true',
|
|
'checked' => old('permissions'.$permission, false)|| (!old('display_name', false) && (isset($role) && $role->hasPermission($permission))),
|
|
'label' => $label
|
|
]) |