Hello

Html helper is the old way, and Form helper the ne cutting-edge one
(and I like it a lot ;))

To get rid of div and label, you can write
$this->input('tagname', array('div' => false, 'label' => false));

If you plan to use Cake 1.2, I don't think it's a good idea to
continue with html helper. Maybe it'll be remove in 2.0, but I prefer
taking the new habit ASAP

Adrian Maier a écrit :
> Hello,
>
> I am a little confused about about why both HtmlHelper and FormHelper
> have an input() method.
>
> It looks like the
>
> I am reluctant to use the HtmlHelper because :
> - i saw in the archives that the plan is to deprecate the common methods
> in favour of FormHelper
> - (if i remember correctly) i've encountered a difference in behaviour between
> HtmlHelper->select() and FormHelper->select()  .
>
> However,  FormHelper->input() automatically creates a div around it and puts
> the label automatically.  It's not clear how to get rid of both the div and 
> the
> label .
>
> Should i use HtmlHelper->input()  instead or should i alter the css so
> that the div
> looks smaller or invisible  ?
>
>
> --
> Adrian Maier


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to