Code

Opened 7 years ago

Closed 7 years ago

#3456 closed (fixed)

rendering help_text in newforms

Reported by: Jeff Bauer <jbauer@…> Owned by: adrian
Component: Forms Version: master
Severity: Keywords: help_text
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

The help_text attribute in newforms should work the same as label in a template:

{{ form.eggs.label }}

{{ form.eggs.help_text }} (Fails)

It took me a while to figure out why my labels were appearing on templates, but not my help text, until I specified fields:

{{ form.fields.eggs.help_text }} (Works)

Attachments (0)

Change History (3)

comment:1 Changed 7 years ago by anonymous

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 7 years ago by Michael Radziej <mir@…>

  • Triage Stage changed from Unreviewed to Accepted

comment:3 Changed 7 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

(In [4521]) Fixed #3456 -- Made it easier/more intuitive to render newforms help_text in templates

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.