{% extends 'dashboard/layout.html' %} {% load currency_filters %} {% load i18n %} {% block body_class %}reviews{% endblock %} {% block title %} {% trans "Update review" %} | {{ block.super }} {% endblock %} {% block breadcrumbs %} {% endblock %} {% block headertext %} {% blocktrans %}Review #{{ review.id }}{% endblocktrans %} {% endblock %} {% block dashboard_content %}
{% csrf_token %}

{% trans "Review information" %}

{{ form.first }} {% for field in form %} {# display title (first) and body (last) as full lines #} {% if forloop.counter < 3 %}
{% if field.is_hidden %} {{ field }} {% else %} {{ field.label_tag }}
{{ field }} {% for error in field.errors %} {{ error|escape }} {% endfor %} {% if field.help_text %} {{ field.help_text }} {% endif %}
{% endif %}
{% else %}
{% if field.is_hidden %} {{ field }} {% else %} {{ field.label_tag }} {{ field }} {% for error in field.errors %}
  • {{ error|escape }}
{% endfor %} {% endif %}
{% endif %} {% endfor %}
{% trans "or" %} {% trans "cancel" %}
{% endblock dashboard_content %}