Working with templates and parent templates

I have a layout template that looks like this (roughly)

<template name="Layout">
  <header>{{>Template.dynamic template=header}}</header>
  <main>{{>Template.dynamic template=content}}</main>
  <footer>{{Template.dynamic template=footer}}</footer>
</template>

I often have templates that contain a form in the content, with a submit in the header or footer.

My question is: how do you work outside the scope of your current template? What are the practices for this?

1 Like