mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
WIP: replace Form::checkbox
This commit is contained in:
parent
3928c8afe9
commit
3a2579b205
|
@ -23,7 +23,14 @@
|
|||
<div class="col-md-9 col-md-offset-3">
|
||||
@if ($defaultEulaText!='')
|
||||
<label class="form-control">
|
||||
{{ Form::checkbox('use_default_eula', '1', $useDefaultEula, ['wire:model.live' => 'useDefaultEula', 'aria-label'=>'use_default_eula']) }}
|
||||
<input
|
||||
type="checkbox"
|
||||
name="use_default_eula"
|
||||
value="1"
|
||||
wire:model.live="useDefaultEula"
|
||||
aria-label="use_default_eula"
|
||||
@checked($useDefaultEula)
|
||||
/>
|
||||
<span>{!! trans('admin/categories/general.use_default_eula') !!}</span>
|
||||
</label>
|
||||
@else
|
||||
|
|
Loading…
Reference in a new issue