{% load i18n %} {% load currency_filters %}
{% if errors %}
{% trans "Oops! We found some errors:" %} {{ errors|safe }}
{% endif %} {% if messages %}
{{ messages|safe }}
{% endif %} {% if charge %}
{{ charge|currency:basket.currency }}
{% endif %} {% if form %} {% if form.is_bound and not form.is_valid %}
{% trans "Oops! We found some errors" %} - {% trans "please check the error messages below and try again" %}
{% endif %} {% if form.non_field_errors %} {% for error in form.non_field_errors %}
{{ error }}
{% endfor %} {% endif %} {% for field in form %} {% include 'oscar_shipping/partials/form_field.html' with field=field style=style %} {% endfor %}
{% endif %}