1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-11-24 20:02:35 +01:00
BookStack/resources/views/settings/roles/checkbox.blade.php

3 lines
243 B
PHP

<input type="checkbox" name="permissions[{{ $permission }}]"
@if(old('permissions'.$permission, false)|| (!old('display_name', false) && (isset($role) && $role->hasPermission($permission)))) checked="checked" @endif
value="true">