{% load admin_list %}
{% load i18n %}

<p class="button-group">
    <span class="button-group-label small">
        <strong>{{ cl.result_count }}</strong> {% ifequal cl.result_count 1 %}{{ cl.opts.verbose_name }}{% else %}{{ cl.opts.verbose_name_plural }}{% endifequal %}
        {% if show_all_url %}&nbsp;&nbsp;<a href="{{ show_all_url }}" class="showall">{% trans 'Show all' %}</a>{% endif %}
    </span>

    {% if pagination_required %}
        <span class="button-group-buttons">
            {% spaceless %}
                {% for i in page_range %}
                    {% paginator_number cl i %}
                {% endfor %}
            {% endspaceless %}
        </span>
    {% endif %}

    {% if cl.formset and cl.result_count %}<input type="submit" name="_save" class="default" value="{% trans 'Save' %}"/>{% endif %}
</p>
