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 <bally.z...@gmail.com> 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 <boke...@gmail.com> 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 cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---