It's just because the generate-crud is really about simple code
generation. So, we don't want to add too much complexity in the crud 
generation.

Fabien

Stefan Koopmanschap wrote:
> Hi,
> 
> While working on a job, I noticed that there is a huge difference in
> the naming of the form fields generated by generate-crud and init-
> admin. Where generate-crud gives each field name it's own name, the
> init-admin generates a form with an array with keys for each field.
> 
> Since we're currently looking at writing a central validation for
> certain fields, it would be useful to know why this difference was
> implemented in Symfony. Was there any specific reason for this? We can
> of course just change the theme the admin-generator uses, but we don't
> want other things to break because we change specific things in an
> admin-generator theme.
> 
> So, does anyone know why this was made different?
> 
> Sincerely,
> 
> Stefan
> 
> 
> > 
> 
> 


--~--~---------~--~----~------------~-------~--~----~
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