On Wed, Jun 16, 2010 at 5:53 PM, syra...@googlemail.com
<syra...@googlemail.com> wrote:
>
> The index.ctp has this line :
> <?php echo $form-
>>create('CautareProduseVechi',array('action'=>'cautareProduseVechi'));?
>>
>
> This generated html code is :
> <form id="CautareProduseVechiCautareProduseVechiForm" method="post"
> action="/new_admin/cautare_produse_vechis/cautareProduseVechi">
>
> The old 1.2.0 was generating :
> <form id="CautareProduseVechiAddForm" method="post" action="/new_admin/
> intretinere/cautareProduseVechi">

A tip: don't bother with that.  Let Cake abstract this for you.

If you really really want, you can set attribs for your form.
<?php echo 
$form->create('CautareProduseVechi',array('action'=>'cautareProduseVechi',
'id' => 'CautareProduseVechiAddForm'));

Best regards.

-- 
MARCELO F ANDRADE
Belem, Amazonia, Brazil

"I took the red pill"

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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

Reply via email to