{% extends basetheme_bootstrap_base_template %} {% load crispy_forms_tags %} {% load static %} {% load i18n %} {% block extra_js %} {{block.super}} {% if extra_js_file %} {% endif%} {% endblock %} {% block title %}{{ title }}{% endblock %} {% block page_title %}{{ page_title|default:title }}{% endblock %} {% block content %}
{%if form_title%}

{{form_title}}

{%endif%}
{% csrf_token %} {%if form%} {%if form.forms%} {{ form.management_form }}
{% for f in form.forms %}
{{ f|crispy }}
{%endfor%}
{%else%} {{ form|crispy }} {%endif%} {%endif%} {%if cancel_url%} {{ cancel_text|default:"Cancel"}} {%endif%}
{% endblock %}