From a2d4d2cf2561c4dfe926ab03f4dbcfb3409310c7 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 13 Sep 2019 18:37:06 +0200 Subject: Muliple person deletion wizard --- .../templates/ishtar/wizard/delete_wizard.html | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 ishtar_common/templates/ishtar/wizard/delete_wizard.html (limited to 'ishtar_common/templates/ishtar/wizard/delete_wizard.html') diff --git a/ishtar_common/templates/ishtar/wizard/delete_wizard.html b/ishtar_common/templates/ishtar/wizard/delete_wizard.html new file mode 100644 index 000000000..82e074eae --- /dev/null +++ b/ishtar_common/templates/ishtar/wizard/delete_wizard.html @@ -0,0 +1,42 @@ +{% extends "ishtar/wizard/confirm_wizard.html" %} +{% load i18n %} +{% load range %} +{% block "warning_message" %} +
+

+ {% if current_objs and current_objs.1 %} + {% trans "Are you sure to want to delete theses items?" %} +

+ {% else %} + {% trans "Are you sure to want to delete this item?" %}{% endif %} +

+

{% trans "No rollback is possible. Be careful to scroll to the end of page to check every piece of information." %}

+
+{% endblock %} + +{% block "cards" %} +{% for form_label, form_data in datas %} + +
+ {% if form_label %} +
+ {{form_label}} +
{% endif %} +
+ {% if current_objs and current_objs.1 %}{% for current_object in current_objs %}{% if forloop.counter == forloop.parentloop.counter %} + {% block "detailled_extra_info" %} + {% endblock %} + {% endif %}{% endfor %}{% endif %} + + {% for data in form_data %} + + {% endfor %} +
{{data.0}}{{data.1}}
+ +
+
+ +{% endfor %} +{% endblock "cards" %} -- cgit v1.2.3