one more information...
if I put on my html file a html code like this:
<input id="test" class="input-small" type="text" value="" name="test">

it also does not change the css effect to the correct class "input-small"


Em sexta-feira, 7 de junho de 2013 16h51min36s UTC-3, André Kablu escreveu:
>
> Hi all,
>
> I am trying to change a class of a field using form.element on my 
> user.html view:
>
> {{=form.custom.begin}}
> Name: {{
>       form.element('input',_name='first_name')['_class']='input-medium'
>       =form.custom.widget.first_name
> }}
> {{=form.custom.end}}
>
>
> It changes the HTML on the source code:
> Name:
> <input id="auth_user_first_name" class="input-small" type="text" value="" 
> name="first_name">
>
> but does not change the page.
>
> I already tried to remove all classes setting _class to '', and then using 
> _size to change the size of the field. Nothing happen too... 
>
> seems like the web2py default CSS is changing the input{text} css patterns 
> and nothing we can do to change field class properties
>
> Any ideas?
>
> Thank you very much!
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to