Tuesday, February 1, 2011

Re: Styling help_text

Thanks for the info, and for the doc patch Preston.

Back to manual mode for now :)

./s

On Feb 1, 6:59 am, Preston Timmons <prestontimm...@gmail.com> wrote:
> Hi Scot,
>
> Unfortunately, the patch to that ticket was committed after 1.2 was
> released. That feature isn't available until 1.3 or in trunk.
>
> What you see in the docs is an error. The original patch didn't
> include an update there. I created a ticket to have the docs
> corrected.
>
> http://code.djangoproject.com/ticket/15204
>
> Preston
>
> On Jan 31, 7:23 pm, Scot Hacker <shac...@berkeley.edu> wrote:
>
>
>
>
>
>
>
> > This ticket
>
> >http://code.djangoproject.com/ticket/8426
>
> > says that, as of six months ago, model field help_text rendered in
> > forms by {{form.as_p}} gets wrapped in a style-able span. But in
> > Django 1.2.4, {{form.as_p}} still generates unspanned help_text. It
> > also doesn't show up spanned in the docs:
>
> >http://docs.djangoproject.com/en/dev/ref/forms/fields/#help-text
>
> > I'm not sure what I'm missing here. I'd really like to stop manually
> > creating every field in form templates just to get style-able help
> > text.
>
> > Any pointers? Thanks.
>
> > ./s

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment