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

{% block object-tools-items %}

{% if perms.members.may_invite_as_user %}
<li>
    <a class="historylink" href="{% url 'admin:members_member_inviteasuser' original.pk %}">{% trans 'Invite as user' %}</a>
</li>
{% endif %}

{{block.super}}

{% endblock %}
