Opened 14 years ago

Closed 14 years ago

#14367 closed (duplicate)

Please add as_p() to form fields

Reported by: dfoerster Owned by: nobody
Component: Forms Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The form.as_p() method is very handy but can't always be user. When customizing the layout of a form one has to specify for each field the label (using get_label), a possible error message and the form widget.

It would be very handy, if form fields had a as_p() method that prints the fields label, error message and widget just as the forms as_p() method does.

Change History (1)

comment:1 by David Novakovic, 14 years ago

Resolution: duplicate
Status: newclosed

Hey, I'm gonna mark this as a dupe of #3111 . as_p isn't mentioned there, but its the same idea :)

Note: See TracTickets for help on using tickets.
Back to Top