{% load i18n bootstrap3 popupcrud_list %}
{% csrf_token %} {% bootstrap_form form layout='horizontal' %} {% if formset %} {% render_formset formset %} {% comment %} Note that we're using $.one() instead of the more natural @.on() as we want the handler to be removed after running. Otherwise, with every activation of the modal, an extra row of 'Add' button will be added to the bottom of the formset form table and an extra set of 'Delete' buttons will be added to the end of every form row. {% endcomment %} {% endif %} {% trans "Save" as submit %} {% trans "Reset" as reset %}
{% bootstrap_button submit button_type="submit" button_class="btn-primary" %} {# {% bootstrap_button reset button_type="reset" button_class="btn-default" %} #} {% if request.is_ajax %} {% trans "Cancel" as cancel %} {% endif %}