Django

Code

Ticket #3758 (closed: fixed)

Opened 2 years ago

Last modified 2 years ago

[patch] to get FormPreview templates to use field.label

Reported by: erickt@dslextreme.com Assigned to: adrian
Milestone: Component: django.contrib.formtools
Version: SVN Keywords:
Cc: erickt@dslextreme.com Triage Stage: Unreviewed
Has patch: 1 Needs documentation:
Needs tests: Patch needs improvement:

Description

I noticed that FormPreview? was using verbose_name instead of label in the templates. This fixes that. It also renames the preview button from "Submit" to "Preview" to be a little clearer in what the button does.

-e

Attachments

formtools.patch (1.2 kB) - added by erickt@dslextreme.com on 03/18/07 17:53:36.

Change History

03/18/07 17:53:36 changed by erickt@dslextreme.com

  • attachment formtools.patch added.

03/20/07 11:54:05 changed by adrian

  • status changed from new to closed.
  • resolution set to fixed.

(In [4757]) 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


Add/Change #3758 ([patch] to get FormPreview templates to use field.label)




Change Properties
Action