Hi guys. Thank you Brian and Tim, that send me the solution below:
$dataPt = $form->label('Book.release_date.day', 'Date');
$dataPt .= $form->dateTime('Book.release_date','DMY','NONE');
echo $html->tag('div', $dataPt, array('class' => 'input text'));
Raphael
On Jun 3, 3:27 pm, brian <[email protected]> wrote:
> <div class="input text">
> <?php
> echo $form->label('Book.release_date.day', 'Date');
> echo $form->dateTime('Book.release_date','DMY','NONE);
> ?>
> </div>
>
> On Wed, Jun 3, 2009 at 10:49 AM, bokerao <[email protected]> wrote:
>
> > Hi Guys... I'm making a form and need to put an own css div, so I did
> > this:
>
> > echo $html->div('input text');
> > echo $form->label('Book.release_date.day', 'Date');
> > echo $form->dateTime('Book.release_date','DMY','NONE);
>
> > So Cake create the div class but it doesn't close the tag...
>
> > So what can I do in this case?
>
> > Thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---