{% load i18n %} {% load basefilters %} {% if messages %}
{% for message in messages %}
{{ message }}
{% endfor %}
{% endif %}

{% trans "Multiple Approval Condition" %}

{{ form.department }} {{ form.department.errors }}
{{ form.condition_field }} {{ form.condition_field.errors }}
{{ form.condition_operator }} {{ form.condition_operator.errors }}
{% if condition.condition_operator == "range" %}
{{ form.condition_start_value }} {{ form.condition_start_value.errors }}
{{ form.condition_end_value }} {{ form.condition_end_value.errors }}
{% else %}
{{ form.condition_value }} {{ form.condition_value.errors }}
{% endif %}
{{ form.multi_approval_manager }} {{ form.multi_approval_manager.errors }}
{% for field in form.visible_fields %} {% if field.name|startswith:"multi_approval_manager_" %}
{{field}}
{% endif %} {% endfor %}