mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-30 04:23:11 +03:00
Started the migration of the setting views
This commit is contained in:
@ -8,6 +8,8 @@
|
||||
@include('form/checkbox', ['name' => 'restricted', 'label' => trans('entities.permissions_enable')])
|
||||
</div>
|
||||
|
||||
{{--TODO - Add global and role "Select All" options--}}
|
||||
|
||||
<table class="table">
|
||||
<tr>
|
||||
<th>{{ trans('common.role') }}</th>
|
||||
|
@ -1,4 +1,4 @@
|
||||
|
||||
{{--TODO - Make custom--}}
|
||||
<label>
|
||||
<input value="true" id="{{$name}}[{{$role->id}}][{{$action}}]" type="checkbox" name="{{$name}}[{{$role->id}}][{{$action}}]"
|
||||
@if(isset($model) && $model->hasRestriction($role->id, $action)) checked="checked" @endif>
|
||||
|
Reference in New Issue
Block a user