Use CSS to style your radio buttons into a horizontal layout.
Enjoy, John

On Friday, 5 December 2014 08:05:33 UTC+2, [email protected] wrote:
>
>
> <https://lh5.googleusercontent.com/-QQqZW6Cmd_U/VIEu-I8fV9I/AAAAAAAAAAM/T9Qi-pDXXEw/s1600/84F56212-5D30-47CC-9243-3FD4061CE582.png>
>
> Here is my view , and i want to make all the options to be horizontal, can 
> someone help me do this?
>
> here is my code:
>
> echo $this->Form->input('field', array(
>
> 'before' => '--before--',
>
> 'after' => '--after--',
>
> 'separator' => null,
>
> 'options' => array('1', '2', '3', '4'),
>
> 'type' => 'radio'
>
> ));
>
>
>
> thanks a lot!
>
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

Reply via email to