   SUBVIEWS: []
 
   events:
+    'click .js-undo-delete': 'undoDelete'
     'click .js-save-form': 'saveForm'
     'click .fb-tabs a': 'showTab'
     'click .fb-add-field-types a': 'addField'


        @updatingBatch = undefined


class Formbuilder
  @helpers:

      _.pathAssign(newSubmit, Formbuilder.options.mappings.DESCRIPTION, 'Submit')
      @collection.push(newSubmit)
    @initAutosave()
    @initUndoStack()

  initAutosave: ->
    @formSaved = true
