     @$el.appendTo('section.main .content')
 
 
-  # FIXME: Not so sure about this one, there must be a more elegant way to achieve that
   updateCheckbox: ->
     elem = @$el.find("input#client_active")
     elem.val((parseInt($(elem).val(), 10) + 1) % 2)

      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

  
  initialize: ->
    @clientInfoTemplate = Handlebars.compile(@templates.newClient)
    console.log "CLIENT ACTIF? " + (if @model.get("active") then "YES" else "NO")
    @$el.html @clientInfoTemplate
      clientDescription: @model.get("description") || ""
      clientName: @model.get("name") || ""
      clientActive: if @model.get("active") then "checked=\"checked\"" else ""
      clientIsNew: @model.isNew()
    
    @render()
