diff --git a/shiftregister/fallback/templates/my_fallback_shifts.html b/shiftregister/fallback/templates/my_fallback_shifts.html index 915dff4..4bc82ca 100644 --- a/shiftregister/fallback/templates/my_fallback_shifts.html +++ b/shiftregister/fallback/templates/my_fallback_shifts.html @@ -14,26 +14,35 @@

Schicht übernehmen

{% csrf_token %} -
-
- {{ trade_form.assignment_id }} -
-
- {{ trade_form.pin }} -
-
- -
-
- {% if form.errors %} -
- {% for field in trade_form %} - {% for error in field.errors %} +
+
+
+{% with trade_form.assignment_id as field %} +
+ {{ field }} +
+{% for error in field.errors %}

{{ error }}

- {% endfor %} - {% endfor %} +{% endfor %} +{% endwith %} +
+
+{% with trade_form.pin as field %} +
+ {{ field }} +
+{% for error in field.errors %} +

{{ error }}

+{% endfor %} +{% endwith %} +
+
+
+ +
+
+
- {% endif %}