title: Meteor - Pass variable in templates arguments
body: <p>I am trying to do something like this:</p>
  
  <pre><code>&lt;template name=week&gt;
     {{#each days}} //from an array in helpers with values [0,1,2,3,4,5,6]
        {{&gt; day dayOfWeek="&lt;How can I have the value here?&gt;"}}
     {{/each}}
  &lt;template name&gt;
  </code></pre>
  
  <p>Question1: How to retrieve the current value of the array to pass it to the template included?</p>
  
  <pre><code>&lt;template name=day&gt;
     {{#autoForm collection=users doc=user ...}}
        {{#each days}} //from an array in helpers with values [0,1,2,3,4,5,6]
           {{&gt;afFieldInput name='profile.availability.&lt;dayOfWeek&gt;.from'}}
        {{/each}}
     {{/autoForm}}
  &lt;template name&gt;
  </code></pre>
  
  <p>Question 2: How can I dynamically substitute dayOfWeek inside the name?</p>