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

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