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

{% block object-tools-items %}

<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>

{{block.super}}

{% endblock %}
