title: EmberJS multiple yield helper
body: <p>I have a custom view that I've created in Ember.  I really love the <code>{{yield}}</code> helper to allow me to control the 'bread' of the sandwich.  However, what I'd like to do now, is create a 'double decker' sandwich, and have a view with more than 1 yield in it, or at the very least be able to parameterize which template to use in the 2nd yield.</p>
  
  <p>so for example:</p>
  
  <h2>layout.hbs</h2>
  
  <pre><code>&lt;div&gt;
      &lt;div class="header"&gt;Header Content&lt;/div&gt;
      &lt;div class="tab1"&gt;
          Tab 1 Controls.
          &lt;input type="text" id="common1" /&gt;
          {{yield}}
      &lt;/div&gt;
      &lt;div class="tab2"&gt;
          Tab 2 Controls.
          &lt;input type="text" id="common2" /&gt;
          {{yield second-template}} or {{template second-template}}
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <h2>app.js</h2>
  
  <pre><code>App.MyDoubleDeckerView = Ember.View.extend({
      layoutName:"layout',
      templateName:"defaultTemplate", 
      "second-template":"defaultSecond"
  });
  
  App.MyExtendedDoubleDecker = App.MyDoubleDeckerView({
      templateName:"myTemplate", 
      "second-template":"mySecondTemplate"
  });
  </code></pre>
  
  <p>is there any way of doing something like this?  What I love about the views in ember is the ability to centralize &amp; extend views which allows me to keep the things that are common among all the views in one place...</p>