{% 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 Available Leave" %}
{{form.available_days}} {{form.available_days.errors}}
{{form.carryforward_days}} {{form.carryforward_days.errors}}