You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
259 B
PHTML
10 lines
259 B
PHTML
2 years ago
|
@props(['messages'])
|
||
|
|
||
|
@if ($messages)
|
||
|
<ul {{ $attributes->merge(['class' => 'text-sm text-red-600 dark:text-red-400 space-y-1']) }}>
|
||
|
@foreach ((array) $messages as $message)
|
||
|
<li>{{ $message }}</li>
|
||
|
@endforeach
|
||
|
</ul>
|
||
|
@endif
|