Re: Newforms and CSS classes

2007-05-11 Thread Christian Joergensen
Christian Joergensen wrote: >>> Is it possible to have css classes attached to newforms widgets? I would >>> like to be able to distinguish between fx. checkboxes, radio buttons, >>> submit buttons, text fields (which are all 's). > >> well, yo

Re: Newforms and CSS classes

2007-05-01 Thread Christian Joergensen
Honza Král wrote: >> Is it possible to have css classes attached to newforms widgets? I would >> like to be able to distinguish between fx. checkboxes, radio buttons, >> submit buttons, text fields (which are all 's). > well, you can pass args={'class' : 'whatever'} to

Re: Newforms and CSS classes

2007-04-30 Thread Honza Král
On 4/30/07, Christian Joergensen <[EMAIL PROTECTED]> wrote: > Hi Hi, > > Is it possible to have css classes attached to newforms widgets? I would > like to be able to distinguish between fx. checkboxes, radio buttons, > submit buttons, text fields (which are all 's). we

Newforms and CSS classes

2007-04-30 Thread Christian Joergensen
Hi Is it possible to have css classes attached to newforms widgets? I would like to be able to distinguish between fx. checkboxes, radio buttons, submit buttons, text fields (which are all 's). In the oldforms module when having a required charfield, there would be a class="vTextField req