1
0
forked from ScoDoc/ScoDoc
ScoDoc-Front/app/templates/confirm_dialog.j2

21 lines
496 B
Django/Jinja

{% extends 'base.j2' %}
{% import 'bootstrap/wtf.html' 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 %}