Test that your user has the right credentials in your form class may be a better way than overwrite the template ?
__________________________________________ Benjamin Grandfond - www.benjamingrandfond.fr [email protected] Le 6 juil. 09 à 11:45, cleve a écrit : > > +1 for plain fields with permissions, I never found a tidy solution > for this, always had to hack the templates with if/else and then unset > the field in the class when required. nasty. > > Anybody have a better solution for this? > > All very good points though, > > John > > > , 2009 at 10:34 AM, Matthias >> >> N.<[email protected]> wrote: >>> 2.0? ;-) >> >> I said "2.0" because the things we ask for cannot really achieved >> without breaking BC. >> >>> The problem I have is that these things are not new, they are ages >>> old >>> and I need a solution now as I have to create tons of admin modules >>> and forms during the next 2 months. So I guess the only way to go is >>> sit down and create my own form system and my own generator classes. >> >> I doubt that much will change in short time, especially without >> Fabien >> joining into the discussion. But as I said, we can work on this >> together. >> >> Bernhard > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony developers" 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-devs?hl=en -~----------~----~----~----~------~----~------~--~---
