chess/resources/views/components/form/radio.blade.php

11 lines
392 B
PHP
Raw Normal View History

2024-08-29 03:56:32 +00:00
<div class="form-group mb-11">
<div class="mb-4">{{$title}}</div>
<div class="radio-{{$type}}">
@foreach ($listValue as $key => $l)
<label class="radio">
<input value="{{$listValue[$key]}}" type="radio" id="{{$name}}_{{$listValue[$key]}}" name="{{$name}}">
<span></span>{{$text[$key]}}
</label>
@endforeach
</div>
</div>