Re: Proposal: label tag attributes

2008-09-22 Thread Justin Fagnani
On Tue, Sep 16, 2008 at 2:41 AM, oggy <[EMAIL PROTECTED]> wrote: > On Sep 15, 10:49 pm, "Justin Fagnani" <[EMAIL PROTECTED]> > I can clearly see the appeal of the idea. Django can stay Javascript- > agnostic, while the community could develop a PrototypeForms, > DojoForms, etc. and it would be a s

Re: Proposal: label tag attributes

2008-09-21 Thread Brian Beck
On Sep 15, 8:50 am, "Eduardo O. Padoan" <[EMAIL PROTECTED]> wrote: > On Mon, Sep 15, 2008 at 9:39 AM, Julien Phalip <[EMAIL PROTECTED]> wrote: > > That's a good point. Mixing {% include %} and {% with %} is both more > > verbose and less flexible than if using a custom tag. In this case, > > using

Re: Proposal: label tag attributes

2008-09-14 Thread oggy
Here's a link to the ticket: http://code.djangoproject.com/ticket/9079 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com

Proposal: label tag attributes

2008-09-14 Thread oggy
Currently, Django's form library doesn't facilitate a way to add attributes to the fields' labels. So, while it's dead simple to add, say, 'class="required"' to your widgets, you have to go out of your way to do the same for your tags. The patch to add the functionality is very simple. I'm openi