app/django/contrib/formtools/templates/formtools/preview.html
author Pawel Solyga <Pawel.Solyga@gmail.com>
Sun, 30 Nov 2008 17:35:05 +0000
changeset 630 0ac985fd8efa
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Add missing import, remove unused import and add missing parameters to methods in soc.views.models.user_self module. Patch by: Pawel Solyga

{% extends "base.html" %}

{% block content %}

<h1>Preview your submission</h1>

<table>
{% for field in form %}
<tr>
<th>{{ field.label }}:</th>
<td>{{ field.data }}</td>
</tr>
{% endfor %}
</table>

<p>Security hash: {{ hash_value }}</p>

<form action="" method="post">
{% for field in form %}{{ field.as_hidden }}
{% endfor %}
<input type="hidden" name="{{ stage_field }}" value="2" />
<input type="hidden" name="{{ hash_field }}" value="{{ hash_value }}" />
<p><input type="submit" value="Submit" /></p>
</form>

<h1>Or edit it again</h1>

<form action="" method="post">
<table>
{{ form }}
</table>
<input type="hidden" name="{{ stage_field }}" value="1" />
<p><input type="submit" value="Preview" /></p>
</form>

{% endblock %}