From 8ae7bff38c74aa3769fa8b859f1547355a8e84a0 Mon Sep 17 00:00:00 2001 From: SysAdmin Agent Date: Wed, 11 Mar 2026 22:06:07 +0000 Subject: [PATCH] Modernize Destinataer create/edit form to match Vision 2026 style Replace custom CSS (.form-section, gradients, var(--racing-green)) with standard Bootstrap card-based layout matching the rest of the modernized UI: dark card headers, responsive grid rows, consistent shadow-sm styling. Co-Authored-By: Claude Opus 4.6 --- app/templates/stiftung/destinataer_form.html | 690 ++++++------------- 1 file changed, 229 insertions(+), 461 deletions(-) diff --git a/app/templates/stiftung/destinataer_form.html b/app/templates/stiftung/destinataer_form.html index 5608b12..40bea56 100644 --- a/app/templates/stiftung/destinataer_form.html +++ b/app/templates/stiftung/destinataer_form.html @@ -5,474 +5,242 @@ {% block title %}{{ title }} - Stiftungsverwaltung{% endblock %} {% block content %} +
+
+

+ {{ title }} +

+ + Zurueck + +
-
-
-

- - {{ title }} -

- -
+
+
+ {% csrf_token %} -
-
-
-
-
- Destinatär-Daten -
-
-
- - - - - {% csrf_token %} - - -
-

- - Persönliche Informationen -

-
-
- - {{ form.vorname }} - {% if form.vorname.errors %} -
- {% for error in form.vorname.errors %} - {{ error }} - {% endfor %} -
- {% endif %} -
-
- - {{ form.nachname }} - {% if form.nachname.errors %} -
- {% for error in form.nachname.errors %} - {{ error }} - {% endfor %} -
- {% endif %} -
-
- - {{ form.geburtsdatum }} - {% if form.geburtsdatum.errors %} -
- {% for error in form.geburtsdatum.errors %} - {{ error }} - {% endfor %} -
- {% endif %} -
-
- - {{ form.familienzweig }} - {% if form.familienzweig.errors %} -
- {% for error in form.familienzweig.errors %} - {{ error }} - {% endfor %} -
- {% endif %} -
-
- - -
-

- - Kontaktinformationen -

-
-
- - {{ form.email }} - {% if form.email.errors %} -
- {% for error in form.email.errors %} - {{ error }} - {% endfor %} -
- {% endif %} -
-
- - {{ form.telefon }} - {% if form.telefon.errors %} -
- {% for error in form.telefon.errors %} - {{ error }} - {% endfor %} -
- {% endif %} -
-
- - {{ form.iban }} - {% if form.iban.errors %} -
- {% for error in form.iban.errors %} - {{ error }} - {% endfor %} -
- {% endif %} -
-
- - {{ form.adresse }} - {% if form.adresse.errors %} -
- {% for error in form.adresse.errors %} - {{ error }} - {% endfor %} -
- {% endif %} -
-
-
- - -
-

- - Berufliche Informationen -

-
-
- - {{ form.berufsgruppe }} - {% if form.berufsgruppe.errors %} -
- {% for error in form.berufsgruppe.errors %} - {{ error }} - {% endfor %} -
- {% endif %} -
-
- - {{ form.ausbildungsstand }} - {% if form.ausbildungsstand.errors %} -
- {% for error in form.ausbildungsstand.errors %} - {{ error }} - {% endfor %} -
- {% endif %} -
-
- - {{ form.institution }} - {% if form.institution.errors %} -
- {% for error in form.institution.errors %} - {{ error }} - {% endfor %} -
- {% endif %} -
-
- - {{ form.projekt_beschreibung }} - {% if form.projekt_beschreibung.errors %} -
- {% for error in form.projekt_beschreibung.errors %} - {{ error }} - {% endfor %} -
- {% endif %} -
-
-
- - -
-

- - Finanzielle Informationen -

-
-
- - {{ form.jaehrliches_einkommen }} - {% if form.jaehrliches_einkommen.errors %} -
- {% for error in form.jaehrliches_einkommen.errors %} - {{ error }} - {% endfor %} -
- {% endif %} -
-
-
- {{ form.finanzielle_notlage }} - -
- {% if form.finanzielle_notlage.errors %} -
- {% for error in form.finanzielle_notlage.errors %} - {{ error }} - {% endfor %} -
- {% endif %} -
-
-
- - -
-

- - Unterstützung & Auszahlung -

-
-
-
- {{ form.ist_abkoemmling }} - -
-
- -
-
- {{ form.unterstuetzung_bestaetigt }} - -
-
- -
- - {{ form.haushaltsgroesse }} -
- -
- - {{ form.vierteljaehrlicher_betrag }} -
- -
- - {{ form.vermoegen }} -
-
- - {{ form.standard_konto }} -
Standardkonto für vierteljährliche Vorauszahlungen
-
-
-
- - -
-

- - Studiennachweis -

-
-
-
- {{ form.studiennachweis_erforderlich }} - -
-
- -
- - {{ form.letzter_studiennachweis }} -
Stichtage: 15.03 und 15.09
-
-
-
- - -
-

- - Status und Notizen -

-
-
-
- {{ form.aktiv }} - -
- {% if form.aktiv.errors %} -
- {% for error in form.aktiv.errors %} - {{ error }} - {% endfor %} -
- {% endif %} -
- -
- - {{ form.notizen }} - {% if form.notizen.errors %} -
- {% for error in form.notizen.errors %} - {{ error }} - {% endfor %} -
- {% endif %} -
-
-
- - -
- - Abbrechen - - -
- + {# ── Persoenliche Informationen ── #} +
+
+ Persoenliche Informationen +
+
+
+
+ + {{ form.vorname }} + {% if form.vorname.errors %}
{{ form.vorname.errors.0 }}
{% endif %} +
+
+ + {{ form.nachname }} + {% if form.nachname.errors %}
{{ form.nachname.errors.0 }}
{% endif %} +
+
+ + {{ form.geburtsdatum }} + {% if form.geburtsdatum.errors %}
{{ form.geburtsdatum.errors.0 }}
{% endif %} +
+
+ + {{ form.familienzweig }} + {% if form.familienzweig.errors %}
{{ form.familienzweig.errors.0 }}
{% endif %} +
- -
- {% help_box 'destinataer_new' user %} + {# ── Kontaktinformationen ── #} +
+
+ Kontaktinformationen +
+
+
+
+ + {{ form.email }} + {% if form.email.errors %}
{{ form.email.errors.0 }}
{% endif %} +
+
+ + {{ form.telefon }} + {% if form.telefon.errors %}
{{ form.telefon.errors.0 }}
{% endif %} +
+
+ + {{ form.iban }} + {% if form.iban.errors %}
{{ form.iban.errors.0 }}
{% endif %} +
+
+ + {{ form.adresse }} + {% if form.adresse.errors %}
{{ form.adresse.errors.0 }}
{% endif %} +
+
+
-
+ + {# ── Berufliche Informationen ── #} +
+
+ Berufliche Informationen +
+
+
+
+ + {{ form.berufsgruppe }} + {% if form.berufsgruppe.errors %}
{{ form.berufsgruppe.errors.0 }}
{% endif %} +
+
+ + {{ form.ausbildungsstand }} + {% if form.ausbildungsstand.errors %}
{{ form.ausbildungsstand.errors.0 }}
{% endif %} +
+
+ + {{ form.institution }} + {% if form.institution.errors %}
{{ form.institution.errors.0 }}
{% endif %} +
+
+ + {{ form.projekt_beschreibung }} + {% if form.projekt_beschreibung.errors %}
{{ form.projekt_beschreibung.errors.0 }}
{% endif %} +
+
+
+
+ + {# ── Finanzielle Informationen ── #} +
+
+ Finanzielle Informationen +
+
+
+
+ + {{ form.jaehrliches_einkommen }} + {% if form.jaehrliches_einkommen.errors %}
{{ form.jaehrliches_einkommen.errors.0 }}
{% endif %} +
+
+ + {{ form.vermoegen }} + {% if form.vermoegen.errors %}
{{ form.vermoegen.errors.0 }}
{% endif %} +
+
+
+ {{ form.finanzielle_notlage }} + +
+ {% if form.finanzielle_notlage.errors %}
{{ form.finanzielle_notlage.errors.0 }}
{% endif %} +
+
+
+
+ + {# ── Unterstuetzung & Auszahlung ── #} +
+
+ Unterstuetzung & Auszahlung +
+
+
+
+
+ {{ form.ist_abkoemmling }} + +
+
+
+
+ {{ form.unterstuetzung_bestaetigt }} + +
+
+
+ + {{ form.haushaltsgroesse }} +
+
+ + {{ form.monatliche_bezuege }} +
+
+ + {{ form.vierteljaehrlicher_betrag }} +
+
+ + {{ form.standard_konto }} +
Standardkonto fuer vierteljaehrliche Vorauszahlungen
+
+
+
+
+ + {# ── Studiennachweis ── #} +
+
+ Studiennachweis +
+
+
+
+
+ {{ form.studiennachweis_erforderlich }} + +
+
+
+ + {{ form.letzter_studiennachweis }} +
Stichtage: 15.03 und 15.09
+
+
+
+
+ + {# ── Status & Notizen ── #} +
+
+ Status und Notizen +
+
+
+
+
+ {{ form.aktiv }} + +
+ {% if form.aktiv.errors %}
{{ form.aktiv.errors.0 }}
{% endif %} +
+
+ + {{ form.notizen }} + {% if form.notizen.errors %}
{{ form.notizen.errors.0 }}
{% endif %} +
+
+
+
+ +
+
+ + Abbrechen + + +
+ +
+ +
+ {% help_box 'destinataer_new' user %}
- -{% endblock %} +
+{% endblock %}