Can't you use css ?

On 16/08/2011 09:38, Tomfox Wiranata wrote:
hi,

cake offers this great forms helper. when i add several radio buttons,
they appear in line.

<?php
$options=array('M'=>'Male','F'=>'Female');
$attributes=array('legend'=>false);
echo $this->Form->radio('gender',$options,$attributes);
?>

how can i make them list one below the other? i tried to insert<br>
in the array, didnt work...sorry, for that dumb question.......but
thanks :)


--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to