summaryrefslogtreecommitdiff
path: root/ishtar_common/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2015-02-12 23:34:01 +0100
committerÉtienne Loks <etienne.loks@proxience.com>2015-05-06 15:48:16 +0200
commit5a12bcce1cfad8fcf93f902bc9e4c82c4a53ee14 (patch)
tree3077178cc426d37b558913dda1240974ba99e36f /ishtar_common/templates
parent0b5e08da0814e9cf65e3b9410d330be79a87a3db (diff)
downloadIshtar-5a12bcce1cfad8fcf93f902bc9e4c82c4a53ee14.tar.bz2
Ishtar-5a12bcce1cfad8fcf93f902bc9e4c82c4a53ee14.zip
Add a new reset wizard action available from main templates (refs #2282)
Diffstat (limited to 'ishtar_common/templates')
-rw-r--r--ishtar_common/templates/ishtar/wizard/default_wizard.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/ishtar_common/templates/ishtar/wizard/default_wizard.html b/ishtar_common/templates/ishtar/wizard/default_wizard.html
index 3f2f3943e..2eb62457b 100644
--- a/ishtar_common/templates/ishtar/wizard/default_wizard.html
+++ b/ishtar_common/templates/ishtar/wizard/default_wizard.html
@@ -1,5 +1,6 @@
{% extends "base.html" %}
{% load i18n range table_form %}
+{% load url from future %}
{% block extra_head %}
{{form.media}}
{% endblock %}
@@ -43,6 +44,7 @@
<div id='validation-bar'>
<input type="submit" id="submit_form" name='validate' value="{% trans "Validate" %}"/>
{% if next_steps %}<input type="submit" id="submit_end_form" name='validate_and_end' value="{% trans "Validate and end" %}"/>{% endif %}
+ <input type="button" id="reset_wizards" name='cancel' value="{% trans "Cancel" %}" onclick="window.location='{% url 'reset_wizards' %}';"/>
</div>
</div>
</form>