{% extends "admin/change_list.html" %}
{% load adminmedia admin_list i18n mptt_admin %}

{% block object-tools %}
    {{ block.super }}
    <form id="ostinato_page_move_form" action="{% url ostinato_page_reorder %}" method="post" accept-charset="utf-8">{% csrf_token %}
        <input type="hidden" name="node" />
        <input type="hidden" name="target" />
        <input type="hidden" name="position" />
    </form>
{% endblock %}

{% block result_list %}
    {% if action_form and actions_on_top and cl.full_result_count %}{% admin_actions %}{% endif %}
    {% mptt_result_list cl %}
    {% if action_form and actions_on_bottom and cl.full_result_count %}{% admin_actions %}{% endif %}
{% endblock %}
