           attrs[name] = value
     attrs
 
-  delete: (e)->
+  destroy: (e)->
     e?.preventDefault()
-    @confirmDelete @resource, =>
+    @confirmDestroy @resource, =>
       @$el.removeClass('neat-editable').addClass('deleted')
 
       @model.destroy
         wait: true
-        success: => @onDeleteSuccess
+        success: => @onDestroySuccess
         error: _.bind(@onSaveError, @)
       @cancelEdit()
 
-  confirmDelete: (resource, callback)->
+  confirmDestroy: (resource, callback)->
     if confirm("Delete this #{resource}?")
       callback()
 

    # use that more familiar syntax, they'll blow away events
    # defined in this class.
    @$el.delegate('.save-button',   'click', _.bind(@save, @))
    @$el.delegate('.delete-button', 'click', _.bind(@delete, @))
    @$el.delegate('.cancel-button', 'click', _.bind(@cancelEdit, @))

    # Begin editing when this resource is clicked


  onSaveSuccess: ->
  onSaveError: ->
  onDestroySuccess: ->
  onDestroyError: ->



