           error: =>
             @_addError()
 
-    _cutInput: (event) ->
+    _cutInputAddress: (event) ->
       # Timeout so that the cut event completes and the input has data.
       $.doTimeout 50, =>
         if @ui.inputAddress.val().length is 0


    _clickSave: (event) ->
      event.preventDefault()
      balance = @ui.balance.text()
      name = _.str.trim @ui.inputName.val()
      @model.set
        balance: balance.slice(0, _.indexOf(balance, ' ')).replace(/,/g, '')
        name: name
        display_name: name or @model.get('public_address')

      @collection.create @model.attributes,
        wait: true
        success: (model, response, options) =>
          @_reset()
        error: (model, response, options) ->
          _.each JSON.parse(response.responseText).errors, (msg, key) =>
            mark "#{_.str.titleize(_.str.humanize(key))} #{msg}"

    _clickCancel: (event) ->
      event.preventDefault()

        @model.clear()
        @_addError()

    _save: ->
      balance = @ui.balance.text()
      name = _.str.trim @ui.inputName.val()
      @model.set
        balance: balance.slice(0, _.indexOf(balance, ' ')).replace(/,/g, '')
        name: name
        display_name: name or @model.get('public_address')

      @collection.create @model.attributes,
        wait: true
        success: (model, response, options) =>
          @_reset()
        error: (model, response, options) ->
          _.each JSON.parse(response.responseText).errors, (msg, key) =>
            mark "#{_.str.titleize(_.str.humanize(key))} #{msg}"

    _addError: ->
      @ui.inputAddress.addClass 'is-invalid'

