For the most part, all my edit and add methods can use the same form
template.

Right now, I create a single form template and in my add.ctp and
edit.ctp templates, I just include this template.

However, this also means that almost all of teh add.ctp and edit.ctp
templates in my project are exactly the same.

Does anyone have a tip on how to cut down on this repetition?

I have the same problem with my delete.ctp template, which is the same
confirmation page for all controllers.

I don't think Scaffolding works, because my controllers actually have
functionality in each of these methods.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to