Skip to content

Commit 3a8807e

Browse files
committed
Merge branch 'non-inline-radio-field-include-field-attributes-bugfix' of git://github.com/tthverst/CRUD into tthverst-non-inline-radio-field-include-field-attributes-bugfix
2 parents 5fcd468 + 745fff6 commit 3a8807e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/resources/views/crud/fields/radio.blade.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,13 @@ class="form-check-input"
3838
@else
3939

4040
<div class="form-check">
41-
<input class="form-check-input" type="radio" id="{{$field['name']}}_{{$optionPointer}}" name="{{$field['name']}}" value="{{$value}}" {{$optionValue == $value ? ' checked': ''}}>
41+
<input type="radio"
42+
class="form-check-input"
43+
id="{{$field['name']}}_{{$optionPointer}}"
44+
name="{{$field['name']}}"
45+
value="{{$value}}"
46+
@include('crud::inc.field_attributes')
47+
{{$optionValue == $value ? ' checked': ''}}>
4248
<label class="form-check-label font-weight-normal" for="{{$field['name']}}_{{$optionPointer}}">{!! $label !!}</label>
4349
</div>
4450

0 commit comments

Comments
 (0)