I have two tables restaurants n cuisines which are related to each other as HATBM table
cusinies have certain fixed entries - 54 number i restarurant can hve any number of cuisines. on baking the application this came with a multiple select. since i wanted check boxes i used array( 'type' => 'select', 'multiple' => 'checkbox') to convert it into checkboxes. now i want to style the way this checkboxes are displyed into coloumns of 4 as below. http://www.nabble.com/file/p24931900/2009-08-11_1511.png echo $form->input('Cuisine', array('type' => 'select', 'multiple' => 'checkbox')); the above code produces many div's around each element as follows http://www.nabble.com/file/p24931900/2009-08-12_1509.png what i tried ? echo $form->input('Cuisine', array( 'type' => 'select', 'multiple' => 'checkbox', 'div' => false, 'label' => false)); but this code only removes the outside divs and label. i am nota ble to control the internal <div class="checkbox"> and <label for="CuisineCuisine2">Andhra</label> how to gain access through form helpers to remove or class the internal div for my custom styling. or is there any other way to populate this HABTM table to get what i want. -- View this message in context: http://www.nabble.com/Form-Helper-tp24931900p24931900.html Sent from the CakePHP mailing list archive at Nabble.com. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
