>From M::P::DefaultHelpers#content <http://mojolicious.org/perldoc/Mojolicious/Plugin/DefaultHelpers#content>, I wonder if the problem is: "Store partial rendered content in a named buffer and retrieve it later, defaults to retrieving the named buffer content, which is used by the renderer for the layout and extends features. *New content will be ignored if the named buffer is already in use.*"
I'm not sure what a proper solution would be. :( On Thu, Jun 23, 2016 at 2:33 AM, Justin Hawkins <[email protected]> wrote: > Hi All, > > I'm using the template ‘extends’ feature to build some forms with common > elements. I’m trying to include multiple forms on a single page, thus > including several templates that inherit from a common base. > > Hopefully this code example demonstrates what I mean: > https://gist.github.com/anonymous/2ddc0fa21ed69470401bf978bf575998 > > The problem is that the “second.html.ep” template seems to retrieve the > cached content of the ‘base.html.ep’ template after it was modified from > ‘first.html.ep’, rather than re-evaluating it. > > Am I “holding it wrong” or is this a bug? Is there any way around it? > > Thanks! > > - Justin > > -- > You received this message because you are subscribed to the Google Groups > "Mojolicious" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/mojolicious. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
