title: Template reuse in meteor
body: <p>I'm trying to reuse some control elements in my Meteor app.  I'd like the following two templates to toggle visibility and submission of different forms.</p>
  
  <pre><code>&lt;template name='addControl'&gt;
    &lt;img class='add' src='/images/icon-plus.png' /&gt;
  &lt;/template&gt;
  
  &lt;template name='okCancelControl'&gt;
    &lt;img class='submit' src='/images/icon-submit.png' /&gt;
    &lt;img class='cancel' src='/images/icon-cancel.png' /&gt;
  &lt;/template&gt;
  </code></pre>
  
  <p>I'll call these templates in another:</p>
  
  <pre><code>&lt;template name='insectForm'&gt;
    {{#if editing}}
      &lt;!-- form elements --&gt;
      {{&gt; okCancelControl}}
    {{else}}
      {{&gt; addControl}}
    {{/if}}
  &lt;/template&gt;
  </code></pre>
  
  <p><code>editing</code> is a <code>Session</code> boolean.</p>
  
  <p><strong>What's a good way to wire up the controls to show, hide and "submit" the form?</strong></p>