[Product-Developers] how to hide widget's label?

Ricardo Alves rsa at eurotux.com
Tue Jan 27 15:25:34 UTC 2009


SimO wrote:
> Hi guys,
>
> I'd like to hide the label of the widgets of my custom AT type without
> modifing the widgets' templates:
>
> is there any parameter to be passed to the widget's call to reach this?
>

Assuming that you're using base_view, just want to hide labels in view 
mode and it is enough to hide it using CSS, I guess you can do it this way:

.field label.formQuestion {display: none;}



Ricardo

-- 
Ricardo Alves <rsa at eurotux.com>
Eurotux <http://www.eurotux.com> 





More information about the Product-Developers mailing list