{% load i18n %} {% if messages %}
{% for message in messages %}
{{ message }}
{% endfor %}
{% endif %} {% if form.errors %}
{% for error in form.non_field_errors %}
{{ error }}
{% endfor %}
{% endif %}
{% trans "Update Company Leaves" %}
{{form.based_on_week}} {{form.based_on_week_day}}