2012/4/6 Mike Griffin [via CakePHP] <[hidden email]>
On Thu, Apr 5, 2012 at 23:39, ldardick <[hidden email]> wrote:You need to echo out the form tags the same way you are echoing "Agregar Usario"
> *The view:*
>
> <?
> echo "
> Agregar Usuario
> ";
>
> $this->Form->create('Usuario', array('action'=>'add', 'type'=>'post'));
> $this->Form->input('username', array ('type'=>'text',
> 'label'=>'Usuario'));
> $this->Form->input('email', array ('type'=>'email', 'label'=>'Email'));
> $this->Form->input('password', array ('type'=>'password',
> 'label'=>'ContraseƱa'));
> $this->Form->end('Agregar');
>
> ?>
>
>
>
> All I get is the "Agregar Usuario" title, no form tags. I've tried to
> instanciate again the Form Helper ($form = new FormHelper($this) ) but it
> doesn't either work.
>
> It might be a simple thing, but it's something serious for me since i'm just
> starting with the Framework.
> Many thanks in advance.
Mike.
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
[hidden email] For more options, visit this group at http://groups.google.com/group/cake-php
If you reply to this email, your message will be added to the discussion below:http://cakephp.1045679.n5.nabble.com/Form-Helper-usage-question-tp5621651p5623403.html
View this message in context: Re: Form Helper usage question
Sent from the CakePHP mailing list archive at Nabble.com.
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment