chrono/chrono/manager/templates/chrono/manager_confirm_exception_d...

20 lines
554 B
HTML

{% extends "chrono/manager_home.html" %}
{% load i18n %}
{% block appbar %}
<h2>{{ object }}</h2>
{% endblock %}
{% block content %}
<form method="post">
{% csrf_token %}
<p>
{% blocktrans %}Are you sure you want to delete this exception?{% endblocktrans %}
</p>
<div class="buttons">
<button class="delete-button" {% if cannot_delete %}disabled="disabled"{% endif %}>{% trans 'Delete' %}</button>
<a class="cancel" href="{{ object.get_absolute_url }}">{% trans 'Cancel' %}</a>
</div>
</form>
{% endblock %}