MonScoDocEssai/app/templates/confirm_dialog.j2

22 lines
485 B
Django/Jinja

{% extends 'base.j2' %}
{% import 'wtf.j2' as wtf %}
{% block app_content %}
<h2>{{ title }}</h2>
<div style="margin-top: 16px;">
{{ explanation|safe }}
</div>
<div style="margin-top: 16px;">
<form method="post">
<input type="submit" value="OK" />
{% if cancel_url %}
<input type="button" value="Annuler" style="margin-left: 16px;"
onClick="document.location='{{ cancel_url }}';" />
{% endif %}
</form>
</div>
{% endblock %}