   @content: ->
     @div class: 'overlay from-top', =>
       @div class: 'block', =>
-        @subview 'tagName', new EditorView(mini: true, placeholderText: 'Tag')
+        @subview 'tagName', new TextEditorView(mini: true, placeholderText: 'Tag')
       @div class: 'block', =>
-        @subview 'tagMessage', new EditorView(mini: true, placeholderText: 'Annotation message')
+        @subview 'tagMessage', new TextEditorView(mini: true, placeholderText: 'Annotation message')
       @div class: 'block', =>
         @span class: 'pull-left', =>
           @button class: 'btn btn-success inline-block-tight gp-confirm-button', click: 'createTag', 'Create Tag'

Path = require 'path'
fs = require 'fs-plus'

{$, BufferedProcess, EditorView, View} = require 'atom'
StatusView = require './status-view'
git = require '../git'


          @button class: 'btn btn-error inline-block-tight gp-cancel-button', click: 'abort', 'Cancel'

  initialize: ->
    @panel ?= atom.workspace.addModalPanel(item: this)
    @panel.show()
    @tagName.focus()
    @on 'core:cancel', => @destroy()

  createTag: ->
    tag = name: @tagName.getModel().getText(), message: @tagMessage.getModel().getText()
    new BufferedProcess
      command: 'git'
      args: ['tag', '-a', tag.name, '-m', tag.message]
