diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-04-17 12:04:08 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-06-12 08:41:54 +0200 |
commit | 0666e34337b965e85ce3920363ad04e87958e8e7 (patch) | |
tree | 67d308063f0c78cbf26e3b040821e762fed5b4e3 /ishtar_common/templates/ishtar/wizard | |
parent | 022d362b707f0396461a1b32f001baab96a885fc (diff) | |
download | Ishtar-0666e34337b965e85ce3920363ad04e87958e8e7.tar.bz2 Ishtar-0666e34337b965e85ce3920363ad04e87958e8e7.zip |
WIP on account wizard. Wizard: can use switch for deletion. Better display of formsets on done wizard.
Diffstat (limited to 'ishtar_common/templates/ishtar/wizard')
-rw-r--r-- | ishtar_common/templates/ishtar/wizard/confirm_wizard.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ishtar_common/templates/ishtar/wizard/confirm_wizard.html b/ishtar_common/templates/ishtar/wizard/confirm_wizard.html index 1128e9561..401fe570c 100644 --- a/ishtar_common/templates/ishtar/wizard/confirm_wizard.html +++ b/ishtar_common/templates/ishtar/wizard/confirm_wizard.html @@ -9,7 +9,7 @@ <form action="." method="post">{% csrf_token %} <div class='form'> {% block "warning_informations" %}{% endblock %} - <p>{%if confirm_msg %}{{confirm_msg|safe}}{%else%}{% trans "You have entered the following informations:" %}{%endif%}</p> + <p>{% if confirm_msg %}{{confirm_msg|safe}}{%else%}{% trans "You have entered the following informations:" %}{%endif%}</p> {% for form_label, form_data in datas %} <div class="card"> @@ -20,7 +20,7 @@ <div class="card-body form-row"> <table class='table'> {% for data in form_data %} - <tr{%if data.2%} class='{{data.2}}'{%endif%}><th>{{data.0}}</th><td>{{data.1}}</td></tr> + <tr{% if data.2 %} class='{{data.2}}'{%endif%}><th>{{data.0}}</th><td>{{data.1}}</td></tr> {% endfor %} </table> @@ -29,8 +29,8 @@ {% endfor %} -{{wizard.management_form}} - {%if not wizard.form.is_hidden %} + {{wizard.management_form}} + {% if not wizard.form.is_hidden %} <table> {{ wizard.form.as_table }} </table> |