Repository URL to install this package:
|
Version:
2.1 ▾
|
{% extends "base.html" %}
{% load i18n %}
{% block content %}
<h1>{% trans "Preview your submission" %}</h1>
<table>
{% for field in form %}
<tr>
<th>{{ field.label }}:</th>
<td>{{ field.data }}</td>
</tr>
{% endfor %}
</table>
<p>{% blocktrans %}Security hash: {{ hash_value }}{% endblocktrans %}</p>
<form action="" method="post">{% csrf_token %}
{% 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="{% trans "Submit" %}" /></p>
</form>
<h1>{% trans "Or edit it again" %}</h1>
<form action="" method="post">{% csrf_token %}
<table>
{{ form }}
</table>
<input type="hidden" name="{{ stage_field }}" value="1" />
<p><input type="submit" value="{% trans "Preview" %}" /></p>
</form>
{% endblock %}