diff options
Diffstat (limited to 'webapp/django/contrib/formtools/templates/formtools/form.html')
-rw-r--r-- | webapp/django/contrib/formtools/templates/formtools/form.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/webapp/django/contrib/formtools/templates/formtools/form.html b/webapp/django/contrib/formtools/templates/formtools/form.html new file mode 100644 index 0000000000..194bbdd675 --- /dev/null +++ b/webapp/django/contrib/formtools/templates/formtools/form.html @@ -0,0 +1,15 @@ +{% extends "base.html" %} + +{% block content %} + +{% if form.errors %}<h1>Please correct the following errors</h1>{% else %}<h1>Submit</h1>{% endif %} + +<form action="" method="post"> +<table> +{{ form }} +</table> +<input type="hidden" name="{{ stage_field }}" value="1" /> +<p><input type="submit" value="Preview" /></p> +</form> + +{% endblock %} |