summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/ishtar/wizard/default_wizard.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2013-10-28 14:43:04 +0100
committerÉtienne Loks <etienne.loks@peacefrogs.net>2013-10-28 14:43:41 +0100
commit23f2129a45ff677471d5a9b3a2d5e0da6475d0b2 (patch)
tree5aacb82ef7ccf3ba123c36c9b18bc2dceae89aa4 /ishtar_common/templates/ishtar/wizard/default_wizard.html
parent687b849f94c43d5c6ff2bf40d9e560b2e1f68546 (diff)
downloadIshtar-23f2129a45ff677471d5a9b3a2d5e0da6475d0b2.tar.bz2
Ishtar-23f2129a45ff677471d5a9b3a2d5e0da6475d0b2.zip
Fix wizard navigation (missing <form>) (refs #1463)
Diffstat (limited to 'ishtar_common/templates/ishtar/wizard/default_wizard.html')
-rw-r--r--ishtar_common/templates/ishtar/wizard/default_wizard.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/ishtar_common/templates/ishtar/wizard/default_wizard.html b/ishtar_common/templates/ishtar/wizard/default_wizard.html
index 6b4bce709..b2c7189cf 100644
--- a/ishtar_common/templates/ishtar/wizard/default_wizard.html
+++ b/ishtar_common/templates/ishtar/wizard/default_wizard.html
@@ -6,7 +6,7 @@
{% block content %}
{% block wizard_head %}
<h2>{{wizard_label}}</h2>
-<form action="." method="post" name='wizard'{% if wizard.form.file_upload %} enctype="multipart/form-data"{% endif %}>{% csrf_token %}
+<form action="." method="post">{% csrf_token %}
<ul id='form_path'>
{% for step in previous_steps %}
<li>&raquo;&nbsp;<button class='change_step' name="form_prev_step" value="{{forloop.counter0}}">{{step.form_label}}</button></li>
@@ -16,8 +16,10 @@
<li>&raquo;&nbsp;<button class='change_step' name="form_prev_step" value="{{forloop.counter|add:previous_step_counter}}">{{step.form_label}}</button></li>
{% endfor %}
</ul>
+</form>
{% endblock %}
{% block wizard_form %}
+<form action="." method="post" name='wizard'{% if wizard.form.file_upload %} enctype="multipart/form-data"{% endif %}>{% csrf_token %}
<div class='form'>
{% if reminder %}<div class='reminder'>{{ reminder }}</div>{%endif%}
{{ wizard.form.media }}
@@ -55,7 +57,6 @@ $(document).ready(function(){
}
return false;
});
-
});
</script>
{% endblock %}