[WIP] Refactor project

This commit is contained in:
Ludovic CANDELLIER
2021-05-21 00:21:05 +02:00
parent 4ce0fa942d
commit b50f50ea62
347 changed files with 14104 additions and 1608 deletions

View File

@@ -0,0 +1,6 @@
<div class="form-group{{ !empty($class) ? ' '.$class : '' }}">
<div class="custom-control custom-switch custom-switch-off-{{ $colorOff ?? 'light' }} custom-switch-on-{{ $colorOn ?? 'primary' }}"{!! !empty($attributes) ? ' '.$attributes : '' !!}>
<input type="{{ $type ?? 'checkbox' }}" class="custom-control-input" id="{{ $id }}"{{ $checked ? ' checked' : '' }}{!! !empty($name) ? ' name="'.$name.'"' : '' !!}{!! !empty($value) ? ' value="'.$value.'"' : '' !!}>
<label class="custom-control-label font-weight-normal" for="{{ $id }}">@lang($label ?? '')</label>
</div>
</div>