mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-30 04:23:11 +03:00
Implemented database structure and inital interfaces for entity restrictions
This commit is contained in:
12
resources/views/form/checkbox.blade.php
Normal file
12
resources/views/form/checkbox.blade.php
Normal file
@ -0,0 +1,12 @@
|
||||
|
||||
<label>
|
||||
<input value="true" id="{{$name}}" type="checkbox" name="{{$name}}"
|
||||
@if($errors->has($name)) class="neg" @endif
|
||||
@if(old($name) || (!old() && isset($model) && $model->$name)) checked="checked" @endif
|
||||
>
|
||||
{{ $label }}
|
||||
</label>
|
||||
|
||||
@if($errors->has($name))
|
||||
<div class="text-neg text-small">{{ $errors->first($name) }}</div>
|
||||
@endif
|
Reference in New Issue
Block a user