{% load i18n %}
{% trans 'Status modification' %}
{% csrf_token %}
{{ form.status_to }} {% if form.status_to.errors %}
{{ form.status_to.errors }}
{% endif %}
{% if form.status_to.value != order_no_charge %}
{{ form.reason }} {% if form.reason.errors %}
{{ form.reason.errors }}
{% endif %}
{% else %}
{% for reason in order_no_charge_reasons %}
{% endfor %}
{% if form.reason.errors %}
{{ form.reason.errors }}
{% endif %}
{% endif %}