Pay attention to the indentation bug, you must not have a (tabulation) in
your file

2009/9/9 smellycat37 <charley.mail...@gmail.com>

>
> hi,
>
> I try to use the symfony admin generator, do you know how disable a
> field in a the form?
>
> I tried this in the generator.yml file but it doesn't work :
>    config:
>      actions: ~
>      fields:
>        created_at: {params: disabled=true}
>        updated_at: {params: disabled=true}
>      list:
>        display: [id, name, weighting, created_at, updated_at,
> published]
>      filter:
>        class: false
>        #display: [name]
>      form:    ~
>      edit:
>        display:
>          main: [published, updated_at, created_at]
>          display: [name, weighting, imported]
>      new:     ~
>
> Good bye,
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@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
-~----------~----~----~----~------~----~------~--~---

Reply via email to