title: BackboneJS if else condition in templates
body: <p>I have the following code in my BackboneJS template (rendered using Underscore)</p>
  
  <pre><code>&lt;input type="radio" class="isMale" id="isMaleVolunteersNo" 
      &lt;%= model.attributes.isMaleVolunteers == undefined ||         
          model.attributes.isMaleVolunteers == null || 
          model.attributes.isMaleVolunteers == 'N' ? 'checked' : '' 
       %&gt;                 
       name="isMaleVolunteers" value="false" /&gt;
  &lt;label for="isMaleVolunteersNo" style="display:inline"&gt;No&lt;/label&gt;
  </code></pre>
  
  <p>When the model attribute isMaleVolunteers is undefined, I want the No to be checked by default.</p>
  
  <p>I tried the following (with paranthesis)...still does not work;</p>
  
  <pre><code>&lt;input type="radio" class="isMale" id="isMaleVolunteersNo" 
      &lt;%= (model.attributes.isMaleVolunteers == undefined ||
           model.attributes.isMaleVolunteers == null || 
           model.attributes.isMaleVolunteers == 'N') ? 'checked' : '' 
      %&gt; 
      name="isMaleVolunteers" value="false" /&gt;
  &lt;label for="isMaleVolunteersNo" style="display:inline"&gt;No&lt;/label&gt;
  </code></pre>
  
  <p>But the above code does not work. Is there any issue with the code ?</p>