My question is why does it wrap this tag in a div?
because it's the default.
Is it possible to prevent cake from doing this?
yes.. here is how.
Try using $form->submit('Submit', array('div' => false));
That should disable the div around submit and the lable for it.
Hope it helps
On Mar 8, 6:52 pm, Kyle Decot <[EMAIL PROTECTED]> wrote:
> Whenever I create a $form->submit("submit"); I get the following:
>
> <div class="submit"><input type="submit" value="Sign In" />
>
> My question is why does it wrap this tag in a div? Is it possible to
> prevent cake from doing this?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---