{% include 'head.html' %} {% include 'header.html' with title="Neues Berichtsheft" %}

{{ user.display_name }}

Berichtsheft {{ year }} / {{ week }}

Von: {{ start_date|date:"d.m.Y" }} bis: {{ end_date|date:"d.m.Y" }}

{% load set_content %} {% load access %} {% for field in form %}
{% if field.id_for_label == "id_department" %} {{ field|set_content:draft.department}} {%else%} {% with content=draft.content|access:field.id_for_label %} {{ field|set_content:content }} {% endwith %} {%endif%} {% if field.errors %}

{{ field.errors|join:", " }}

{% endif %}
{% endfor %} {% csrf_token %}