forked from aslan/applicant-site
10 lines
259 B
PHP
10 lines
259 B
PHP
|
@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
|