I actually just responded to a similar question like this:

http://groups.google.com/group/cake-php/browse_thread/thread/62399ca5f7b09d57/2dd9c332ec66d7f6?show_docid=2dd9c332ec66d7f6

Is this what you were looking for?

On Nov 20, 1:42 pm, aranworld <[EMAIL PROTECTED]> wrote:
> 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