ldc-laravel-base-project/resources/views/modules/input-error.blade.php
Sebastien Hattry 2956b22d45 initial commit
2023-03-02 18:19:54 +00:00

8 lines
284 B
PHP

@if($errors->has($inputName))
<div class="col-12">
<small class="text-danger">{{ implode(',', $errors->get($inputName)) }}</small>
</div>
@endif
@if(isset($helper))
<small @if(isset($helperId)) id="{{ $helperId }}" @endif class="form-text text-muted">{{ $helper }}</small>
@endif