eledana/resources/views/components/input-error.blade.php
2024-11-07 17:09:43 +01:00

10 lines
241 B
PHP

@props(['messages'])
@if ($messages)
<ul {{ $attributes->merge(['class' => 'text-sm text-red-600 space-y-1']) }}>
@foreach ((array) $messages as $message)
<li>{{ $message }}</li>
@endforeach
</ul>
@endif