           formatSelection: (item) ->
             item.name
       else if selection.hasClass('term')
-        options[i]['select2'] = 
+        options[i]['select2'] =
           data:{ results: terms, text: 'code' },
           placeholder: "Select Term"
           allowClear: true

      options.push {}
      selection = $(@)
      if selection.hasClass('taxon_concept')
        options[i]['select2'] = 
          ajax:
            url: "/api/v1/auto_complete_taxon_concepts.json"
            dataType: "json"


class ListingChangesEditor extends AdminEditor
  init: () ->
    @initForm()
    $("[rel='tooltip']").tooltip()

  initForm: () ->
