Merge pull request #16179 from marcusmoore/chore/migrate-form-radio-helpers-bulk-hardware

Replaced calls to Form::radio helper on bulk hardware edit page
This commit is contained in:
snipe 2025-02-06 10:18:16 +00:00 committed by GitHub
commit a722eca6aa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -140,15 +140,15 @@
<div class="form-group">
<div class="col-md-9 col-md-offset-3">
<label class="form-control">
{{ Form::radio('update_real_loc', '1', old('update_real_loc'), ['checked'=> 'checked', 'aria-label'=>'update_real_loc']) }}
<input type="radio" name="update_real_loc" value="1" checked aria-label="update_real_loc">
{{ trans('admin/hardware/form.asset_location_update_default_current') }}
</label>
<label class="form-control">
{{ Form::radio('update_real_loc', '0', old('update_real_loc'), ['aria-label'=>'update_default_loc']) }}
<input type="radio" name="update_real_loc" value="0" aria-label="update_default_loc">
{{ trans('admin/hardware/form.asset_location_update_default') }}
</label>
<label class="form-control">
{{ Form::radio('update_real_loc', '2', old('update_real_loc'), ['aria-label'=>'update_default_loc']) }}
<input type="radio" name="update_real_loc" value="2" aria-label="update_default_loc">
{{ trans('admin/hardware/form.asset_location_update_actual') }}
</label>