On Jan 24, 2008 12:18 PM, Renan Gonçalves <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm using the new form helper on Cake 1.2.
> I would like to create multiple checkbox, but I can't, because it generates
> div's that should not be generated (brokes layout).
>
> $form->select(' Model.column', array('key' => 'value'), null,
> array('multple' => 'checkbox'))
>
> I think that I could be choose for create div's or not.
>Check out this article: http://bakery.cakephp.org/articles/view/overriding-specific-html-tags-before-using-helper-methods Although, I'm not absolutely certain that this will help in your case, because i'm not certain where in Cake the divs are being added. Have a look inside these files: /cake/libs/view/helpers/html.php /cake/libs/view/helpers/form.php --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
