{% extends request.is_ajax|yesno:"aristotle_mdr/base_ajax.html,aristotle_mdr/base.html" %} {% load i18n aristotle_tags util_tags %} {% load static from staticfiles %} {% load render_bundle from webpack_loader %} {% block title %}Editing {{ item.name }}{% endblock %} {% block extra_head_scripts %} {% comment %} {% endcomment %} {% if request.is_ajax %} {% comment %} {% endcomment %} {% endif %} {% endblock %} {% if not request.is_ajax %} {% block webpack_css_bundle %} {% render_bundle 'advancedEditor' 'css' %} {% endblock %} {% block webpack_bundle %} {% render_bundle 'advancedEditor' 'js' %} {% endblock %} {% endif %} {% block content %}
{% csrf_token %}{{form.last_fetched}}
{% for formset in weak_formsets %} {% include 'aristotle_mdr/generic/actions/alter_one_to_many_formstage.html' with formset=formset.formset %} {% endfor %} {% for formset in through_formsets %} {% include 'aristotle_mdr/generic/actions/alter_one_to_many_formstage.html' with formset=formset.formset %} {% endfor %} {% if slots_FormSet %} {% include 'aristotle_mdr/generic/actions/alter_one_to_many_formstage.html' with formset=slots_FormSet %} {% endif %} {% if identifier_FormSet %} {% include 'aristotle_mdr/generic/actions/alter_one_to_many_formstage.html' with formset=identifier_FormSet %} {% endif %} {% if recordrelation_FormSet %} {% include 'aristotle_mdr/generic/actions/alter_one_to_many_formstage.html' with formset=recordrelation_FormSet %} {% endif %} {% if referencelinks_FormSet %} {% include 'aristotle_mdr/generic/actions/alter_one_to_many_formstage.html' with formset=referencelinks_FormSet %} {% endif %} {% endblock %}