 
     options.destroyOnSubmit ?= no
 
-    @input    = new ActivityInputView defaultValue: options.defaultValue
+    @input = new ActivityInputView defaultValue: options.defaultValue
     @input.on "Escape", @bound "reset"
 
     @input.on "TokenAdded", (type, token) =>

      tagName  : "span"
      cssClass : "preview-icon"
      tooltip  :
        title     : "Preview"
      click    : =>
        if not @preview then @showPreview()
        else @hidePreview()

  submit: (callback) ->
    return  unless value = @input.getValue().trim()

  showPreview: ->
    return unless value = @input.getValue().trim()
    markedValue = KD.utils.applyMarkdown value
    return  if markedValue.trim() is "<p>#{value}</p>"
    tags = @input.getTokens().map (token) -> token.data if token.type is "tag"
    tagsExpanded = @utils.expandTokens markedValue, {tags}
    if not @preview
