diff options
Diffstat (limited to 'ishtar_common/templates/ishtar/wizard/default_wizard.html')
| -rw-r--r-- | ishtar_common/templates/ishtar/wizard/default_wizard.html | 5 |
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>» <button class='change_step' name="form_prev_step" value="{{forloop.counter0}}">{{step.form_label}}</button></li> @@ -16,8 +16,10 @@ <li>» <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 %} |
