mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
Added back in some tabindex that shouldn't have been removed
This commit is contained in:
parent
e48d7d59cc
commit
3959841dbc
@ -6,7 +6,7 @@ $label
|
|||||||
--}}
|
--}}
|
||||||
<label custom-checkbox class="toggle-switch @if($errors->has($name)) text-neg @endif">
|
<label custom-checkbox class="toggle-switch @if($errors->has($name)) text-neg @endif">
|
||||||
<input type="checkbox" name="{{$name}}" value="{{ $value }}" @if($checked) checked="checked" @endif>
|
<input type="checkbox" name="{{$name}}" value="{{ $value }}" @if($checked) checked="checked" @endif>
|
||||||
<span role="checkbox"
|
<span tabindex="0" role="checkbox"
|
||||||
aria-checked="{{ $checked ? 'true' : 'false' }}"
|
aria-checked="{{ $checked ? 'true' : 'false' }}"
|
||||||
class="custom-checkbox text-primary">@icon('check')</span>
|
class="custom-checkbox text-primary">@icon('check')</span>
|
||||||
<span class="label">{{$label}}</span>
|
<span class="label">{{$label}}</span>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<label toggle-switch="{{$name}}" custom-checkbox class="toggle-switch">
|
<label toggle-switch="{{$name}}" custom-checkbox class="toggle-switch">
|
||||||
<input type="hidden" name="{{$name}}" value="{{$value?'true':'false'}}"/>
|
<input type="hidden" name="{{$name}}" value="{{$value?'true':'false'}}"/>
|
||||||
<input type="checkbox" @if($value) checked="checked" @endif>
|
<input type="checkbox" @if($value) checked="checked" @endif>
|
||||||
<span role="checkbox"
|
<span tabindex="0" role="checkbox"
|
||||||
aria-checked="{{ $value ? 'true' : 'false' }}"
|
aria-checked="{{ $value ? 'true' : 'false' }}"
|
||||||
class="custom-checkbox text-primary">@icon('check')</span>
|
class="custom-checkbox text-primary">@icon('check')</span>
|
||||||
<span class="label">{{ $label }}</span>
|
<span class="label">{{ $label }}</span>
|
||||||
|
Loading…
Reference in New Issue
Block a user