You could also do this:

<?php echo $form->input('User.name', array('div' => false));?>

You could do your own surrounding div, then two inputs with div =>
false; in other words, take case of the divs yourself.


On Dec 3, 5:46 am, anand angadi <[email protected]> wrote:
> Hi,
> This may help you...
>
> <table width="100%" border="0" cellspacing="4" cellpadding="0"
> class="content">
>   <tr>
>     <td align="right" class="content">UserName : &nbsp;</td>
>     <td><?php echo $form->input('username',array('label'=>false)); ?></td>
> <td align="right" class="content">Password : &nbsp;</td>
>     <td><?php echo $form->input('password',array('label'=>false)); ?></td>
>   </tr>
> </table>
>
> Cheers:
> Anand
>
>
>
> On Thu, Dec 3, 2009 at 11:05 AM, cake <[email protected]> wrote:
> > Hi all
>
> > How can I get two input fields in same line in cakephp?
> > By default each input field are coming in seperate line.
> > How can we put a space and bring it in same line.
> > Please help..
>
> > Thanking You
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others
> > with their CakePHP related questions.
>
> > You received this message because you are subscribed to the Google Groups
> > "CakePHP" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]<cake-php%[email protected] 
> > om>For more options, visit this group at
> >http://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to