{% extends "bank_transaction_bridge/base.html" %} {% load static %} {% block title %}Import bank statement{% endblock %} {% block body %} {% if nomapping %}
You need first at least one import mapping object (ImportMapping) to be able to import a file. {% url 'admin:bank_transaction_bridge_importmapping_add' as add_url %} {% if add_url %}You can add one in the admin here.{% endif %} {% endif %} {% if form %}
{% csrf_token %} {{ form }}
{% endif %} {% if result %}
{{ result.get_message }}
{% with result.get_errors as errors %} {% if errors %}
Type
Field
Message
Input
{% for error in errors %}
{{ error.type }}
{{ error.field }}
{{ error.message }}
{{ error.input }}
{% endfor %}
{% endif %} {% endwith %} {% endif %} {% endblock %}