[jifty-devel] Rendering form_fields ?

Jesse Vincent jesse at bestpractical.com
Sat Mar 3 04:50:29 EST 2007


On Mar 3, 2007, at 1:17 AM, mraptor wrote:

> I'm using
> $action->form_field('name');
>
> The problem is that if the when I have label which is more than one
> word f.e. "This is a label" it goes split over several rows and
> overlaps with the input fields and so on..
>

I suspect that what you want to do is play with the CSS for labels.

Best,
Jesse

> I tried also to do :
>
>
> <td>$action->form_field('name')->render_label</td>
> <td>$action->form_field('name')->render_widget</td>
>
> but then I loose all other things the render() method does !!
> any ideas ?
>
>
> -- 
> Gee I don't have signature
> _______________________________________________
> jifty-devel mailing list
> jifty-devel at lists.jifty.org
> http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.bestpractical.com/pipermail/jifty-devel/attachments/20070303/2eaceb5d/PGP.pgp


More information about the jifty-devel mailing list