{% extends "wagtailadmin/userbar/item_base.html" %}
{% load i18n %}

{% block item_content %}
    <form action="{% url 'wagtailadmin_pages:reject_moderation' self.revision.id %}" target="_parent" method="post">
        {% csrf_token %}
        <div class="action icon icon-cross">
            <input type="submit" value="{% trans 'Reject' %}" />
        </div>
    </form>
{% endblock %}