{% extends "seeddb/base.html" %} {% block content %}

Back to list

Bulk import

{% if form.non_field_errors %}
{{ form.non_field_errors }}
{% endif %} {% if processed_objects %} {% for obj in processed_objects %} {% endfor %}
Status Line Input Remark
{% ifequal obj.status "ok" %} {{ obj.status }} {% else %}{% ifequal obj.status "other" %} {{ obj.status }} {% else %}{% ifequal obj.status "syntax" %} {{ obj.status }} {% else %} {{ obj.status }} {% endifequal %}{% endifequal %}{% endifequal %} {{ obj.line_number }} {{ obj.input }} {{ obj.message|capfirst }}
{% endif %} {% comment %} If elements are hidden it'a a part of the preview. We need to print out the form hidden to get it in the request {% endcomment %} {% if form.bulk_file.is_hidden %} {{ form.bulk_file }} {% else %}
{{ form.bulk_file.label }} {{ form.bulk_file }}
{% endif %} {% if form.bulk_data.is_hidden %} {{ form.bulk_data }} {% else %}
{{ form.bulk_data.label }} {{ form.bulk_data }}
{% endif %} {% if not form.is_bound or not form.is_valid %} {% endif %}
{% endblock %}