Use enclosing span for HTML text in grid

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-04-05 14:10:57 -07:00
parent 9af2d0a6de
commit 4b4d4e98b6

View file

@ -42,15 +42,14 @@
<div class="col-md-9 col-md-offset-3"> <div class="col-md-9 col-md-offset-3">
@if ($snipeSettings->default_eula_text!='') @if ($snipeSettings->default_eula_text!='')
<label class="form-control"> <label class="form-control">
{{ Form::checkbox('use_default_eula', '1', old('use_default_eula', $item->use_default_eula), ['aria-label'=>'use_default_eula']) }} {{ Form::checkbox('use_default_eula', '1', old('use_default_eula', $item->use_default_eula), ['aria-label'=>'use_default_eula']) }}
{!! trans('admin/categories/general.use_default_eula') !!} {!! trans('admin/categories/general.use_default_eula') !!}
</label> </label>
@else @else
<label class="form-control form-control--disabled"> <label class="form-control form-control--disabled">
{{ Form::checkbox('use_default_eula', '0', old('use_default_eula'), ['class'=>'disabled','disabled' => 'disabled', 'aria-label'=>'use_default_eula']) }} {{ Form::checkbox('use_default_eula', '0', old('use_default_eula'), ['class'=>'disabled','disabled' => 'disabled', 'aria-label'=>'use_default_eula']) }}
{!! trans('admin/categories/general.use_default_eula_disabled') !!} <span>{!! trans('admin/categories/general.use_default_eula_disabled') !!}</span>
</label> </label>
</div>
@endif @endif
</div> </div>
</div> </div>