Refactoring, change menu, add many features

This commit is contained in:
Ludovic CANDELLIER
2021-10-30 02:22:51 +02:00
parent fae7b7897f
commit e356b3fcda
158 changed files with 1114 additions and 412 deletions

View File

@@ -0,0 +1,20 @@
<select name="{{ $name }}"
@if (isset($id_name))id="{{ $id_name }}"@endif
class="form-control {{ $class ?? null }}"
@if (isset($style))style="{{ $style }}" @endif
@if (isset($meta)) {{ $meta }} @endif
@if (isset($required))required="required"@endif
@if (isset($disabled) && $disabled)disabled="disabled"@endif
@if (isset($multiple))multiple="multiple"@endif
>
@if (isset($with_empty))
<option value=''>{{ $with_empty }}</option>
@endif
@if (isset($multiple))
@include('components.form.options.options-multiple')
@else
@include('components.form.options')
@endif
</select>