title: using handlebars bindAttr for checkbox
body: <p>I'm using handlebars in a backbone.js rails app, and I have a Boolean field I'm populating with a checkbox. </p>
  
  <p>When I load the edit page, the form is populated with the contents from the server JSON something like</p>
  
  <pre>
  {id:3,user:'test',checkbox:1}
  </pre>
  
  <p>now in my handlebar form, I want to show that the checkbox is 1. </p>
  
  <pre>
  &lt; input type="checkbox" name="checkbox" value="1" {{#if checkbox}} {{bindAttr checkbox checked="isSelected"}}{{/if}} &gt;
  </pre>
  
  <p>but this isn't returning the checked checkbox. I'd really like to just be able to say <code>if checkbox==1</code>, but I don't see how I can do that with handlebars.</p>
  
  <p>Anysuggestions??</p>