I'm using sfDoctrineGuardPlugin and I'm coming across a small issue.
I have several 'user types', i.e. Admins
, Managers
, Account Holder
.
What I need is to be able to create these users and have specific forms for each type when creating them.
What I'd really like to do, is possibly have a link to something like Create Admin
, Create Manager
and Create Account Holder
, which would like to the form for the user I'm trying to create.
Would I need to create several actions in the plugin to accomodate this, i.e. executeAdmin()
, executeManagers
and then call a custom form, which my specific widgets configured?
Thanks