title: Jade checkbox checked attribute unchecked based on conditional (if)
body: <p>How do I get jade to render the checked attribute of a checkbox based on a conditional?
  Like these two versions of the HTML checkbox tag:</p>
  
  <p>This seems to be the ONLY valid version of unchecked:</p>
  
  <blockquote>
  <pre><code>&gt;  &lt;input type="checkbox" name="vehicle" value="Bike"&gt;
  </code></pre>
  </blockquote>
  
  <p>While this is checked:</p>
  
  <blockquote>
  <pre><code>&gt; &lt;input type="checkbox" name="vehicle" value="Car" checked="checked"&gt;
  </code></pre>
  </blockquote>
  
  <p>Here is what I've tried so far:</p>
  
  <p>This Jade is fine:</p>
  
  <pre><code>    input(type="checkbox", name="completed", checked=(true===true ? "checked" : "")).checkbox
  </code></pre>
  
  <p>because it renders this:</p>
  
  <pre><code>&lt;input type="checkbox" name="completed" checked="checked" class="checkbox"&gt;
  </code></pre>
  
  <p>but this Jade is not fine:</p>
  
  <pre><code>    input(type="checkbox", name="completed", checked=(false===true ? "checked" : "")).checkbox
  </code></pre>
  
  <p>because it renders this:</p>
  
  <blockquote>
    <p><code>&lt;input type="checkbox" name="completed" checked="" class="checkbox"&gt;</code></p>
  </blockquote>
  
  <p>instead of this:</p>
  
  <blockquote>
    <p><code>&lt;input type="checkbox" name="completed" class="checkbox"&gt;</code></p>
  </blockquote>
  
  <p>How do I get Jade to render the entire checked attribute instead of just the value of the checked attibute?  </p>