Thursday, June 3, 2010

Re: form.as_p, as_table variation

On Jun 3, 12:05 pm, Thomas Allen <thomasmal...@gmail.com> wrote:
> I'm able to get pretty far with the template tag approach. The trouble
> is that BoundForms offer no way to directly add attributes, which I
> think can only be included when defining the form field in question.

Actually if I bypass unicode() and use as_widget directly, I can
provide attrs.

Thomas

--
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate