mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-09-06 01:22:23 +00:00
![Dan Brown](/assets/img/avatar_default.png)
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> |