{% load extra_urls i18n static admin_list admin_urls %}
{#{% for button in adminform.model_admin.get_changeform_buttons %}#}
{% get_changeform_buttons adminform.model_admin as buttons %}
{% for button in buttons %}
{#    {% bind button as button %}#}
    {% if button.change_form and button.visible and button.authorized %}
        {% include "admin_extra_urls/includes/button.html" with button=button %}
    {% endif %}
{% endfor %}
