Bewerbungsformular update

This commit is contained in:
Nils Bonorden committed 2025-10-24 15:05:16 +02:00
1 parent 20558065ad
commit bdb62a6ce2
13 files changed
+646 -171

No files matched your search

@@ -0,0 +1,10 @@
@php
$map = [
'submitted' => ['label' => 'Eingereicht', 'class' => 'text-bg-secondary'],
'in_review' => ['label' => 'In Prüfung', 'class' => 'text-bg-warning'],
'accepted' => ['label' => 'Zugesagt', 'class' => 'text-bg-success'],
'rejected' => ['label' => 'Abgesagt', 'class' => 'text-bg-danger'],
];
$cfg = $map[$status] ?? ['label' => $status, 'class' => 'text-bg-light'];
@endphp
<span class="badge {{ $cfg['class'] }}">{{ $cfg['label'] }}</span>