{% extends "admin/change_form.html" %} {% load i18n admin_modify %} {% load staticfiles %} {% block after_related_objects %} {% for button in buttons %} {% if not button.forAll %} {% if button.show %} {% if button.saveOnClick %} {% endif %} {% endif %} {% endif %} {% endfor %} {% endblock %}