Files
ladill-hosting/resources/views/partials/flash.blade.php
T
isaaccladandCursor e251a4cf60
Deploy Ladill Hosting / deploy (push) Failing after 17s
Initial Ladill Hosting app with Gitea deploy pipeline.
Shared web hosting extracted from the platform monolith, with CI deploy
to /var/www/ladill-hosting matching Bird/Domains/Email.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-06 16:24:20 +00:00

23 lines
731 B
PHP

@php
$flashStyles = [
'success' => 'border-emerald-200 bg-emerald-50 text-emerald-800',
'info' => 'border-sky-200 bg-sky-50 text-sky-800',
'error' => 'border-red-200 bg-red-50 text-red-800',
];
@endphp
@foreach ($flashStyles as $key => $classes)
@if (session($key))
<div class="mb-4 rounded-lg border px-4 py-3 text-sm {{ $classes }}">{{ session($key) }}</div>
@endif
@endforeach
@if ($errors->any())
<div class="mb-4 rounded-lg border border-red-200 bg-red-50 px-4 py-3 text-sm text-red-800">
<ul class="list-disc space-y-1 pl-5">
@foreach ($errors->all() as $err)
<li>{{ $err }}</li>
@endforeach
</ul>
</div>
@endif