       <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">

      success: (model, response) =>
        if isNew then @collection.add model
        Backbone.history.navigate(@collection.url(), true)
        # We should have some special view to display information to the user. That view should be used by other views

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


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