9 lines
505 B
PHP
9 lines
505 B
PHP
<div class="form__field">
|
|
<div class="form__field-title">{{ $label }} {{ $required ? '*' : '' }} <span class="normal">({{ __('front.multiple_choice') }})</span></div>
|
|
@foreach($options as $option)
|
|
<label class="form__field-pseudolabel">
|
|
<input type="checkbox" name="{{ $name }}" value="{{ $option['value'] }}" @if(isset($required)) required="true" @endif>
|
|
<span class="form__field-pseudocircle">{{ $option['label'] }}</span>
|
|
</label>
|
|
@endforeach
|
|
</div>
|