title: Handlebars shorter if else?
body: <p>I'm writing a handlebars template.</p>
  
  <p>Is there a shorter way to write this :</p>
  
  <pre><code>&lt;input type="text" id="date-from" value="{{#if dates.start}}{{dates.start}}{{else}}From{{/if}}" name="date-from"/&gt;
  </code></pre>
  
  <p>I want to populate the <code>value</code> attribute if the <code>dates.start</code>value is present, other wise use a default value.</p>
  
  <p>Thanks</p>