ldc-groupe/resources/views/components/front/inputs/multi-select.blade.php
2025-09-04 11:14:25 +02:00

16 lines
751 B
PHP

<div class="form__field">
<div class="form__field-title">{{ $label }} {{ $required ? '*' : '' }}</div>
<div class="geographic-checkboxes-block">
<div class="geographic-checkboxes-result form__input"><span
class="zones-wrapper">{{ $placeholder }}</span>
</div>
<div class="geographic-checkboxes-list">
@foreach($options as $option)
<label class="form__field-pseudolabel">
<input type="checkbox" name="{{ $name }}" value="{{ $option['value'] }}" @if(isset($option['required'])) required="true" @endif>
<span class="form__field-pseudosquare">{{ $option['label'] }}</span>
</label>
@endforeach
</div>
</div>
</div>