]>
BookStack Code Mirror - bookstack/blob - resources/views/form/restriction-checkbox.blade.php
projects
/
bookstack
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Removed old input checks on entity permission checkboxes
[bookstack]
/
resources
/
views
/
form
/
restriction-checkbox.blade.php
1
2
<label>
3
<input value="true" id="{{$name}}[{{$role->id}}][{{$action}}]" type="checkbox" name="{{$name}}[{{$role->id}}][{{$action}}]"
4
@if(isset($model) && $model->hasRestriction($role->id, $action)) checked="checked" @endif>
5
{{ $label }}
6
</label>