should have added that the approach I've taken, perhaps not ideal or non-standard, is to add to application.dryml a line like this:
<include src="models/form"/> for each of my models, replacing "models" with each one's pluralized name. Seems to work okay... On Jun 15, 6:46 pm, Montgomery Kosma <[email protected]> wrote: > By following the various hobo tutorials, I've built up an app that > customizes index and show pages using index.dryml and show.dryml > located in each model's views/model folder. However, forms (and > cards, to the extent I use them) are customized via code found in my > application.dryml. > > I gather the reason for this is that the "form" is common to both the > new and edit page. > > This seems inconsistent and far from ideal for long-term maintenance > and (especially) clarity for when I hand this off to a "real" rails > developer. > > Is there an obvious or accepted solution to this dilemma in the hobo > community? > > To keep consistent with show and index, I'd love to be able to create > a form.dryml in my model's view folder, and have the default new and > edit actions look for and pick up on its existence. Not sure whether > that's sensible or the best place to go about doing that ... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Hobo Users" 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/hobousers?hl=en -~----------~----~----~----~------~----~------~--~---
