ldc-legaulois/resources/views/modules/input-error.blade.php
2024-01-10 14:49:46 +01:00

9 lines
345 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>{{ $helper }}</small>
@endif