1
0
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:
Dan Brown
2019-02-02 15:49:57 +00:00
parent 20988962fe
commit 880d4f35da
24 changed files with 666 additions and 529 deletions

View File

@ -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>

View File

@ -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>