W dniu 24 listopada 2010 12:37 użytkownik Michał Piotrowski
<[email protected]> napisał:
> 2010/11/24 Manu <[email protected]>:
>> Hi all,
>> How do I configure generator.yml so that it will use one form for the
>> "new" action, and another for the "edit" action ?
>
> You need to override actions. You can find action templates in cache dir.
>

BTW. You can configure form to display diferent fields for new and edit
$this->isNew()

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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

Reply via email to