On 17.06.2011 11:30, victor berchet wrote: > What else than the label would you like to customize ? If you > customize any variable that is use by several sections (i.e. 'attr' > then it will be applied to all sections), don't you think it is bad ?
Is it not possible to rename this into attr/label_attr/error_attr or something? Or just instead of label being the label text, let it be all the variables that will be passed to the label? {'label': {'text': 'foo', 'attr': {'class':'lala'}}}. It's a bit unreadable but that's already the case I think. Cheers -- Jordi Boggiano @seldaek - http://nelm.io/jordi -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to symfony-devs@googlegroups.com To unsubscribe from this group, send email to symfony-devs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en