From 61d6249c2bf6c57684a3b77c6cec8601e7a26b44 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Tue, 20 Mar 2007 16:54:05 +0000 Subject: [PATCH] Fixed #3758 -- Changed FormPreview template to use 'label' instead of 'verbose_name'. Also renamed 'Submit' button to 'Preview'. Thanks for the patch, erickt@dslextreme.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@4757 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/formtools/templates/formtools/form.html | 2 +- django/contrib/formtools/templates/formtools/preview.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/django/contrib/formtools/templates/formtools/form.html b/django/contrib/formtools/templates/formtools/form.html index 90da8b2b2b..194bbdd675 100644 --- a/django/contrib/formtools/templates/formtools/form.html +++ b/django/contrib/formtools/templates/formtools/form.html @@ -9,7 +9,7 @@ {{ form }} -

+

{% endblock %} diff --git a/django/contrib/formtools/templates/formtools/preview.html b/django/contrib/formtools/templates/formtools/preview.html index c7955d46e1..983115758f 100644 --- a/django/contrib/formtools/templates/formtools/preview.html +++ b/django/contrib/formtools/templates/formtools/preview.html @@ -7,7 +7,7 @@ {% for field in form %} - + {% endfor %} @@ -30,7 +30,7 @@ {{ form }}
{{ field.verbose_name }}:{{ field.label }}: {{ field.data|escape }}
-

+

{% endblock %}