{% extends "passerelle/manage.html" %}
{% load i18n %}

{% block breadcrumb %}
  {{ block.super }}
  <a href="{{ resource.get_absolute_url }}">{{ resource.title }}</a>
  <a href="{{ object.id }}">{{ object.slug }}</a>
{% endblock %}

{% block appbar %}
  <h2>{% trans 'Query:' %} {{ object.slug }}</h2>
{% endblock %}

{% block content %}

  <form method="post">
    {% csrf_token %}
    <p>{% blocktrans %}Are you sure you want to delete this query?{% endblocktrans %}</p>
    <div class="buttons">
      <button class="delete-button">{% trans 'Delete' %}</button>
      <a href="{{ resource.get_absolute_url }}" class="cancel">{% trans 'Cancel' %}</a>
    </div>
  </form>

{% endblock %}
