{% extends base %} {% block script %} $('#form').submit(function(e) { e.preventDefault(); // don't submit multiple times this.submit(); // use the native submit method of the form element $('#action').val(''); // blank the input }); {% endblock %} {% block title %} {% if title %} {{title}} {% endif %} {% endblock %} {% block content %} {% include "components/banners.html" %}
{% csrf_token %} {% for key, value in table.params.items %} {% endfor %} {% include "components/table.html" with table=table pagination=pagination %}

{% if table.upload %} {% include "components/upload.html" with name="upload" %} {% endif %} {% endblock %}