php - CakePHP 1.3 - Radio label without legend? -


in cakephp 1.3 form inputs i'm able add label option 'label' => 'mylabel', radio button input works bit differently. uses legend , fieldset organize buttons , label buttons. there way remove legend , fieldset (using 'legend => false') while @ same time adding regular label other input use? in same format other inputs it? example, like:

$this->form->input('active1', array('type' => 'radio', 'options' => array(1=>'yes', 0=>'no'), 'label' => 'active', 'legend' => false)); 

this removes label. there way leave label in option? or have create custom function me? thank much!

there not way use standard label option radio button, easy add in view without use of custom function:

<label>mylabel</label> <?php echo $this->form->radio('... 

Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -