       @display = @line.find('.item-display')
 
       @_bindButtons(@newForm())
+      $('.form-actions .primary').attr("disabled",true)
 
       @line.find('*[data-edit="item-form"]').click =>
         @display.addClass('hidden')

      @display.removeClass('hidden')
      @oldForm().remove()
      @newForm().addClass('hidden')

    cancel: ->
      # console.log 'cancel:this', this
      @display.removeClass('hidden')
      @newForm().remove()

    oldForm: ->
      # console.log 'oldForm:this', this

        clone.trigger('cocoon:after-insert')
        clone.removeClass('hidden')
        @_bindButtons(@newForm())
        $('.form-actions .primary').attr("disabled",true)

    _bindButtons: (form) ->
      # console.log '_bindButtons:this', this
