feat: move teamer status editing to admins

addresses #8699yr1eh
This commit is contained in:
Björn Fromme
2025-08-26 14:01:53 +02:00
parent d60119b9fb
commit 86a629d994
4 changed files with 61 additions and 21 deletions
+17 -10
View File
@@ -9,9 +9,24 @@
</div>
<div class="lg:col-span-2">
<h1 class="text-2xl font-bold pb-8">
Jobprofile &amp; Skills {{ teamer }}
Jobprofile, Skills &amp; Status {{ teamer }}
</h1>
<h2 class="text-xl font-bold pb-2">
Status
</h2>
<div class="pb-4">
{{ form_start(form) }}
<div class="flex items-center space-x-2">
{{ form_widget(form.status) }}
<button type="submit" class="btn btn--small">
Speichern
</button>
</div>
{{ form_rest(form) }}
{{ form_end(form) }}
</div>
<h2 class="text-xl font-bold pb-2">
Ausbildung
</h2>
@@ -79,14 +94,6 @@
Sonstiges
</h2>
<div class="flex flex-col space-y-3">
<div>
<div class="font-bold">
Status:
</div>
<div>
{{ teamer|teamer_status_label }}
</div>
</div>
<div>
<div class="font-bold">
Wünsche:
@@ -101,4 +108,4 @@
</div>
</div>
{% endblock %}
{% endblock %}