"rick" <[EMAIL PROTECTED]> writes:

> Yes. Widget should definetely take a class parameter.
> At this point you will have to make your own widgets inherited from
> Widget to get them to behave accordingly.
>
> In the mean time.... the name is unique and it is passed into the ID
> param of each field.
>
> so in css you can set  input#first_name { background.color: red; }
>
> or something like that. 

It is not a viable solution when you have several forms with lots of widgets
each.

I'm trying to create a patch to implement the 'class' attribute for all
widgets on 'base.py'.

-- 
Jorge Godoy      <[EMAIL PROTECTED]>

Reply via email to