ldc-legaulois/resources/views/modules/input-error.blade.php
2024-10-04 17:24:15 +02:00

9 lines
354 B
PHP

@if ($errors->has($inputName))
<div class="col-12">
<small class="text-danger">{{ implode(',', Arr::flatten(Arr::wrap($errors->get($inputName)))) }}</small>
</div>
@endif
@if (isset($helper))
<small class="form-text text-body-secondary"
@if (isset($helperId)) id="{{ $helperId }}" @endif>{!! clean($helper) !!}</small>
@endif