> *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.
You need to echo out the form tags the same way you are echoing "Agregar Usario"
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment