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

{% block object-tools-items %}

{% if not original.submitted %}
<li>
    {% url opts|admin_urlname:'submit' original.pk|admin_urlquote as invite_url %}
    <a class="historylink" href="{% add_preserved_filters invite_url %}">{% trans 'Submit' %}</a>
</li>
{% endif %}

{{block.super}}

{% endblock %}
