generated from boboko/starter
12 lines
392 B
PHP
12 lines
392 B
PHP
{{--
|
|
Flash confirmation box ("Changes saved." etc.). Renders nothing when there's
|
|
no message; defaults to session('status'). Spacing comes from the caller.
|
|
--}}
|
|
@props([
|
|
'message' => session('status'),
|
|
])
|
|
|
|
@if (filled($message))
|
|
<p role="status" aria-live="polite" {{ $attributes->merge(['class' => 'border border-black bg-brand p-6 text-black']) }}>{{ $message }}</p>
|
|
@endif
|