thirdparty/google_appengine/lib/django/django/contrib/formtools/templates/formtools/preview.html
equal
deleted
inserted
replaced
1 {% extends "base.html" %} |
|
2 |
|
3 {% block content %} |
|
4 |
|
5 <h1>Preview your submission</h1> |
|
6 |
|
7 <table> |
|
8 {% for field in form %} |
|
9 <tr> |
|
10 <th>{{ field.label }}:</th> |
|
11 <td>{{ field.data|escape }}</td> |
|
12 </tr> |
|
13 {% endfor %} |
|
14 </table> |
|
15 |
|
16 <p>Security hash: {{ hash_value }}</p> |
|
17 |
|
18 <form action="" method="post"> |
|
19 {% for field in form %}{{ field.as_hidden }} |
|
20 {% endfor %} |
|
21 <input type="hidden" name="{{ stage_field }}" value="2" /> |
|
22 <input type="hidden" name="{{ hash_field }}" value="{{ hash_value }}" /> |
|
23 <p><input type="submit" value="Submit" /></p> |
|
24 </form> |
|
25 |
|
26 <h1>Or edit it again</h1> |
|
27 |
|
28 <form action="" method="post"> |
|
29 <table> |
|
30 {{ form }} |
|
31 </table> |
|
32 <input type="hidden" name="{{ stage_field }}" value="1" /> |
|
33 <p><input type="submit" value="Preview" /></p> |
|
34 </form> |
|
35 |
|
36 {% endblock %} |
|