mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-22 22:59:58 +08:00
Updated user and shelf views to new design
This commit is contained in:
11
resources/views/components/custom-checkbox.blade.php
Normal file
11
resources/views/components/custom-checkbox.blade.php
Normal file
@ -0,0 +1,11 @@
|
||||
{{--
|
||||
$name
|
||||
$value
|
||||
$checked
|
||||
$label
|
||||
--}}
|
||||
<label class="toggle-switch @if($errors->has($name)) neg @endif">
|
||||
<input type="checkbox" name="{{$name}}" value="{{ $value }}" @if($checked) checked="checked" @endif>
|
||||
<span class="custom-checkbox text-primary">@icon('check')</span>
|
||||
<span class="label">{{$label}}</span>
|
||||
</label>
|
Reference in New Issue
Block a user