From 0bfda856d820c1ea3930b4d57a49ee74282e8481 Mon Sep 17 00:00:00 2001 From: Luca Date: Sun, 7 May 2023 23:05:28 +0200 Subject: [PATCH] Remove backup stuff from shift detail page --- .../team/templates/shift_detail.html | 39 ------------------- 1 file changed, 39 deletions(-) diff --git a/shiftregister/team/templates/shift_detail.html b/shiftregister/team/templates/shift_detail.html index bdbf810..813f23e 100644 --- a/shiftregister/team/templates/shift_detail.html +++ b/shiftregister/team/templates/shift_detail.html @@ -67,43 +67,4 @@ {% endfor %} -
-{% if shift.teambackup_set.all.count %} -
Backup-Teammitglied(er)
-
-{% for member in shift.teambackup_set.all %} -
-
- {{ member.name }} - entfernen -
-
-{% endfor %} -
-{% endif %} -
Backup-Teammitglied eintragen
-
- {% csrf_token %} -{% for field in backup_form %} -
-{% if field.widget_type == 'checkbox' %} -
- -
-{% else %} - -
- {{ field }} -
-{% endif %} -{% for error in field.errors %} -

{{ error }}

-{% endfor %} -{% if field.help_text %} -

{{ field.help_text }}

-{% endif %} -
-{% endfor %} - -
{% endblock %}