Re: [symfony-users] Different edit and new forms: what should i do with _form.php

2010-01-25 Thread Stéphane
Do you use the admin-gen feature ?

Cheers,


Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!


On Mon, Jan 25, 2010 at 12:52 PM, Javier Garcia tirengar...@gmail.comwrote:

 Hi,

 i want different edit and new forms for a mudule, i mean they will not have
 the same widgets. I want the first one only have name, address, and
 city, and the second one only name.

 Shoud i create two _form.php? For example _form_edit.php and _form_new.php?

 Regards

 Javi


 --
 You received this message because you are subscribed to the Google Groups
 symfony users group.
 To post to this group, send email to symfony-us...@googlegroups.com.
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.



Re: [symfony-users] Different edit and new forms: what should i do with _form.php

2010-01-25 Thread Javier Garcia

On 01/25/2010 01:00 PM, Stéphane wrote:

Do you use the admin-gen feature ?


No, the module is ordinary (doctrine:generate-module).


--
You received this message because you are subscribed to the Google Groups symfony 
users group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.