@glk, if you do this:

<?=$this->Form->create($contacts, ['type' => 'post', 'class' => 'well'])?>
<?=$this->Form->input('*Contacts*.nome',['label'=>'name:'])?>
<?=$this->Form->end(); ?>

But, in this example, you will have to change all the views.

2014-11-06 1:39 GMT-02:00 glk <g...@kaup.com>:

> Hello Mark,
>
> What do you mean by "The inputs in 3.0 do not contain the model name*
> unless you put it there*.  Put it Where?
>
>
>
>
> On Wednesday, November 5, 2014 5:49:34 AM UTC-7, mark_story wrote:
>>
>> My mistake, I misread your post. The inputs in 3.0 do not contain the
>> model name unless ypu put it there. In 2.x formhelper would automatically
>> prefix fields, which is whst it sounds like you are expecting. This
>> prefixing was removed as it didn't add much value and the new orm does not
>> need the model prefix to function.
>>
>> -mark
>>
>  --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cake-php+unsubscr...@googlegroups.com.
> To post to this group, send email to cake-php@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php.
> For more options, visit https://groups.google.com/d/optout.
>



-- 


http://leandrompereira.com.br

***Se você pretende redirecionar este e-mail, por favor, apague todos os
endereços que aparecem nele. Outra dica de segurança é endereçá-lo no Cco.
Desta forma você estará protegendo a mim, seus amigos e a você mesmo. Eu e
a Campanha Contra o SPAM agradecemos.Não envie correntes.***

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

Reply via email to