{% extends "freeadmin/generic_form.html" %} {% block form %} {% if abort %} Import of Volume {{ vol }} Aborted by the User {% elif error %} Import of Volume {{ vol }} Failed. Reason {{ error }} {% else %} Import of Volume {{ vol }} Successfully Done {% endif %} {% endblock %} {% block buttons %} {% if abort %} {% trans "Done" %} {% else %} {% trans "OK" %} {% endif %} {% endblock %} {% block onSubmit %} doSubmit({ form: this, event: e, url: '{% url 'storage_volimport_abort' %}' }); {% endblock %}