{% extends "team_base.html" %} {% block title %}Schichtdetails{% endblock %} {% block content %}

{% if shift.deleted %}(gelöscht) {% endif %}{{ shift.room.name }} {{ shift.start_at }} ({{ shift.shiftregistration_set.count }}/{{ shift.required_helpers|default:shift.room.required_helpers }})

{% if shift.shiftregistration_set.all %}
Helfer*innen
{% for reg in shift.shiftregistration_set.all %}
{% endfor %}
{% endif %}
Helfer*in eintragen
{% csrf_token %} {% for field in add_helper_form %}
{% if field.widget_type == 'checkbox' %}
{% else %}
{% if field.widget_type == 'select' %}
{{ field }}
{% else %} {{ field }} {% endif %}
{% endif %} {% if field.help_text %}

{{ field.help_text }}

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