~ubuntu-branches/ubuntu/quantal/python-django/quantal

« back to all changes in this revision

Viewing changes to django/contrib/formtools/templates/formtools/form.html

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2008-11-15 19:15:33 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20081115191533-xbt1ut2xf4fvwtvc
Tags: 1.0.1-0ubuntu1
* New upstream release:
  - Bug fixes.

* The tests/ sub-directory appaers to have been dropped upstream, so pull
  our patch to workaround the tests and modify the rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
{% extends "base.html" %}
2
 
 
3
 
{% block content %}
4
 
 
5
 
{% if form.errors %}<h1>Please correct the following errors</h1>{% else %}<h1>Submit</h1>{% endif %}
6
 
 
7
 
<form action="" method="post">
8
 
<table>
9
 
{{ form }}
10
 
</table>
11
 
<input type="hidden" name="{{ stage_field }}" value="1" />
12
 
<p><input type="submit" value="Preview" /></p>
13
 
</form>
14
 
 
15
 
{% endblock %}