summaryrefslogtreecommitdiff
path: root/ishtar/templates
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar/templates')
-rw-r--r--ishtar/templates/confirm_wizard.html25
-rw-r--r--ishtar/templates/default_wizard.html (renamed from ishtar/templates/file_wizard.html)0
-rw-r--r--ishtar/templates/wizard_done.html (renamed from ishtar/templates/file_done.html)6
3 files changed, 26 insertions, 5 deletions
diff --git a/ishtar/templates/confirm_wizard.html b/ishtar/templates/confirm_wizard.html
new file mode 100644
index 000000000..c83134dfb
--- /dev/null
+++ b/ishtar/templates/confirm_wizard.html
@@ -0,0 +1,25 @@
+{% extends "base.html" %}
+{% load i18n %}
+{% load range %}
+{% block content %}
+<form action="." method="post">{% csrf_token %}
+<ul id='form_path'>
+{% for step in previous_steps %}
+ <li>&raquo; <button name="form_prev_step" value="{{forloop.counter0}}">{{step.form_label}}</button></li>
+{% endfor %}
+ <li class='current'>&raquo; <a href='#'>{{current_step.form_label}}</a></li>
+</ul>
+<div class='form'>
+<p>{% trans "You have entered the following informations:" %}</p>
+<table>
+{% for label, data in datas %}
+<tr><th>{{label}}</th><td>{{data}}</td></th>
+{% endfor %}
+</table>
+<p>{% trans "Would you like to save them?" %}</p>
+<input type="hidden" name="{{ step_field }}" value="{{ step0 }}" />
+{{ previous_fields|safe }}
+<input type="submit" value="{% trans "Validate" %}"/>
+</div>
+</form>
+{% endblock %}
diff --git a/ishtar/templates/file_wizard.html b/ishtar/templates/default_wizard.html
index eaf40cc15..eaf40cc15 100644
--- a/ishtar/templates/file_wizard.html
+++ b/ishtar/templates/default_wizard.html
diff --git a/ishtar/templates/file_done.html b/ishtar/templates/wizard_done.html
index 6bbeb53d4..468e8ed6a 100644
--- a/ishtar/templates/file_done.html
+++ b/ishtar/templates/wizard_done.html
@@ -7,10 +7,6 @@
{% endfor %}
<li class='current'>&raquo; <a href='#'>{{current_step.form_label}}</a></li>
</ul>
-<div class='form'>
-<pre>
-{{ form_list|pprint }}
-</pre>
-</form>
+<p>{%trans "Item successfully saved"%}</p>
</div>
{% endblock %}