       <div class="input">
         <label for="client_active">Active</label>
         {{#if clientActive}}
-          <input checked="true" id="client_active" data-attribute="active" type="checkbox" value="1">
+          <input checked="checked" id="client_active" data-attribute="active" type="checkbox" value="1">
         {{else}}
-          <input checked="false" id="client_active" data-attribute="active" type="checkbox" value="0">
+          <input id="client_active" data-attribute="active" type="checkbox" value="0">
         {{/if}}
       </div>
       <div class="actions">

  
  initialize: ->
    @clientInfoTemplate = Handlebars.compile(@templates.newClient)
    
    @$el.html @clientInfoTemplate
      clientDescription: @model.get("description") || ""
      clientName: @model.get("name") || ""
      clientActive: !!@model.get("active")
      clientIsNew: @model.isNew()
    
    @render()

    @$el.appendTo('section.main .content')


  updateCheckbox: ->
    elem = @$el.find("input#client_active")
    elem.val((parseInt($(elem).val(), 10) + 1) % 2)
