Team 3 (Levoswitch Enrollment) Checkbox
Specific Folder FTP Upload / ftp-deploy (push) Successful in 47s
Details
Specific Folder FTP Upload / ftp-deploy (push) Successful in 47s
Details
This commit is contained in:
parent
8b64a1e851
commit
21cc4ebab1
|
|
@ -559,7 +559,27 @@
|
|||
@endforeach
|
||||
@endif
|
||||
</select>
|
||||
|
||||
@break
|
||||
@case('checkbox')
|
||||
@foreach($question->options as $option)
|
||||
<div class="form-check mb-2 form-check-primary">
|
||||
<input
|
||||
class="form-check-input"
|
||||
type="checkbox"
|
||||
id="field-{{$question->code}}-{{$option->value}}-${doctor_count}"
|
||||
name="{{$question->code}}[${doctor_count}][]"
|
||||
value="{{$option->value}}"
|
||||
{{ isset($question->value) && $question->value != '' && in_array($option->value, (array)$question->value) ? 'checked' : '' }}
|
||||
>
|
||||
<label
|
||||
class="form-check-label"
|
||||
for="field-{{$question->code}}-{{$option->value}}-${doctor_count}">
|
||||
{{$option->display}}
|
||||
</label>
|
||||
</div>
|
||||
@endforeach
|
||||
@break
|
||||
@endswitch
|
||||
</div>
|
||||
@endforeach </div>`;
|
||||
|
|
|
|||
Loading…
Reference in New Issue