{% load i18n %}
{% load url from future %}
{% if jobs %}<form method="post" action="{% url "rq_queue" queue.name %}">
	{% csrf_token %}
	<div class="submit-row">
		{% if failed %}
			<input type="submit" name="requeue" value="{% trans "Requeue all" %}">
		{% endif %}
		<input type="submit" name="compact" value="{% trans "Compact queue" %}">
		<input type="submit" name="empty" value="{% trans "Empty queue" %}">
	</div>
</form>{% endif %}
