Fixed labels on radio buttons in custom report

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2022-08-02 19:48:41 -07:00
parent 5fe8db541e
commit 77ab4ac1b5

View file

@ -354,16 +354,14 @@
<div class="col-md-9 col-md-offset-3">
<br>
<label for= "deleted_assets">
{{ Form::radio('deleted_assets', '', true, ['aria-label'=>'deleted_assets', 'class'=>'minimal'])}}
{{ trans('general.exclude_deleted') }}
{{ Form::radio('deleted_assets', '', true, ['aria-label'=>'deleted_assets', 'class'=>'minimal', 'id'=>'deleted_assets_exclude_deleted'])}}
<label for="deleted_assets_exclude_deleted">{{ trans('general.exclude_deleted') }}</label>
<br>
{{ Form::radio('deleted_assets', '1', old('deleted_assets'), ['aria-label'=>'deleted_assets','class' => 'minimal']) }}
{{ trans('general.include_deleted') }}
{{ Form::radio('deleted_assets', '1', old('deleted_assets'), ['aria-label'=>'deleted_assets','class' => 'minimal', 'id'=>'deleted_assets_include_deleted']) }}
<label for="deleted_assets_include_deleted">{{ trans('general.include_deleted') }}</label>
<br>
{{ Form::radio('deleted_assets', '0', old('deleted_assets'), ['aria-label'=>'deleted_assets','class' => 'minimal']) }}
{{ trans('general.only_deleted') }}
</label>
{{ Form::radio('deleted_assets', '0', old('deleted_assets'), ['aria-label'=>'deleted_assets','class' => 'minimal','id'=>'deleted_assets_only_deleted']) }}
<label for="deleted_assets_only_deleted">{{ trans('general.only_deleted') }}</label>
</div>
</div>