summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/ishtar/wizard/default_wizard.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-01-16 18:51:38 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-01-16 18:51:38 +0100
commit4f1275bdde1b4565a62cf64ea1343911e5fbb55b (patch)
tree3464fa1d2937ca936eedf02cfb253da1aeff4fef /ishtar_common/templates/ishtar/wizard/default_wizard.html
parenta3c6060d00a0ae760c87d25cb32774f7ca6534e1 (diff)
downloadIshtar-4f1275bdde1b4565a62cf64ea1343911e5fbb55b.tar.bz2
Ishtar-4f1275bdde1b4565a62cf64ea1343911e5fbb55b.zip
UI: improve parcel form
Diffstat (limited to 'ishtar_common/templates/ishtar/wizard/default_wizard.html')
-rw-r--r--ishtar_common/templates/ishtar/wizard/default_wizard.html13
1 files changed, 8 insertions, 5 deletions
diff --git a/ishtar_common/templates/ishtar/wizard/default_wizard.html b/ishtar_common/templates/ishtar/wizard/default_wizard.html
index 1a774ad49..6c9193966 100644
--- a/ishtar_common/templates/ishtar/wizard/default_wizard.html
+++ b/ishtar_common/templates/ishtar/wizard/default_wizard.html
@@ -19,14 +19,17 @@
{% block form_detail %}
{% if wizard.form.forms %}
{{ wizard.form.management_form }}
-<div class='top_button'><input type="submit" id="submit_form" value="{% trans "Validate" %}"/></div>
-<table class='formset'>
- {%if wizard.form.non_form_errors%}<tr class='error'><th colspan='2'>{{wizard.form.non_form_errors}}</th></tr>{%endif%}
+ {% if wizard.form.non_form_errors %}
+ <div class="alert alert-danger" role="alert">
+ {{wizard.form.non_form_errors}}
+ </div>
+ {% endif %}
{% for formsetform in wizard.form.forms %}
{% bs_form formsetform %}
{% endfor %}
- <tr class='modify'><td colspan="2"><button name="formset_modify" value="{{wizard.steps.current}}">{% trans "Add/Modify" %}</button></td></tr></li>
-</table>
+ <button class="btn btn-success" name="formset_modify" value="{{wizard.steps.current}}">
+ {% trans "Add/Modify" %}
+ </button>
{% else %}
{% bs_form wizard.form %}
{% endif %}