Thanks.
On 1/31/12 8:42 AM, Anthony wrote:
form.custom.widget.name_on_card['_class'] += ' my-class'
or
form.element(_name='name_on_card')['_class'] += ' my-class'
Anthony
On Tuesday, January 31, 2012 7:46:44 AM UTC-5, David J wrote:
I have
{{=form.custom.widget.name_on_card }}
which generates
<input type="text" value="Person name" name="name_on_card"
id="no_table_name_on_card" class="string">
How do I add an additional class to the rendered output?
ie: big
<input type="text" value="Person name" name="name_on_card"
id="no_table_name_on_card" class="string big">
Thanks.