mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
412eed19c3
Old input check potentialy causing issues (#89) and is not needed on the pages which it shows.
6 lines
264 B
PHP
6 lines
264 B
PHP
|
|
<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>
|
|
{{ $label }}
|
|
</label> |