{% extends "admin/change_form_object_tools.html" %}
{% load i18n admin_urls %}

{% block object-tools-items %}

{% if perms.members.change_global_memberwaitinglist %}
<li>
    {% url opts|admin_urlname:'invite' original.pk|admin_urlquote as invite_url %}
    <a class="historylink" href="{% add_preserved_filters invite_url %}">{% trans 'Invite to group' %}</a>
</li>
{% endif %}

{{block.super}}

{% endblock %}
