Skip to content

Commit 7d9b87f

Browse files
authored
Merge pull request #16898 from marcusmoore/chore/form-radio-replacement
Replaced Form::radio helpers
2 parents 40c65a0 + c157f41 commit 7d9b87f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

resources/views/hardware/checkin.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,11 @@
106106
<div class="form-group">
107107
<div class="col-md-9 col-md-offset-3">
108108
<label class="form-control">
109-
{{ Form::radio('update_default_location', '1', old('update_default_location'), ['checked'=> 'checked', 'aria-label'=>'update_default_location']) }}
109+
<input name="update_default_location" type="radio" value="1" checked="checked" aria-label="update_default_location" />
110110
{{ trans('admin/hardware/form.asset_location') }}
111111
</label>
112112
<label class="form-control">
113-
{{ Form::radio('update_default_location', '0', old('update_default_location'), ['aria-label'=>'update_default_location']) }}
113+
<input name="update_default_location" type="radio" value="0" aria-label="update_default_location" />
114114
{{ trans('admin/hardware/form.asset_location_update_default_current') }}
115115
</label>
116116
</div>

resources/views/partials/forms/edit/location-select.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@
4040
<div class="form-group">
4141
<div class="col-md-9 col-md-offset-3">
4242
<label class="form-control">
43-
{{ Form::radio('update_default_location', '1', old('update_default_location'), ['checked'=> 'checked', 'aria-label'=>'update_default_location']) }}
43+
<input name="update_default_location" type="radio" value="1" checked="checked" aria-label="update_default_location" />
4444
{{ trans('admin/hardware/form.asset_location') }}
4545
</label>
4646
<label class="form-control">
47-
{{ Form::radio('update_default_location', '0', old('update_default_location'), ['aria-label'=>'update_default_location']) }}
47+
<input name="update_default_location" type="radio" value="0" aria-label="update_default_location" />
4848
{{ trans('admin/hardware/form.asset_location_update_default_current') }}
4949
</label>
5050
</div>

0 commit comments

Comments
 (0)