mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-24 11:15:05 +08: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> |