 
   update: ->
     @git.getBranchName().then (name) =>
-      @buttonNode.textContent = "Commit to #{name}"
+      @branchNode.textContent = name
 
   focusTextArea: ->
     @messageNode.focus()

<atom-text-editor tabindex="-1" class="commit-description" gutter-hidden
  style="height: 120px"></atom-text-editor>
<div class="commit-button">
  <button class="btn btn-commit">Commit</button>
</div>
"""


    @innerHTML    = BaseTemplate
    @messageNode  = @querySelector('atom-text-editor')
    @messageModel = @messageNode.getModel()
    @branchNode   = @querySelector('.branch-name')

    @messageModel.setSoftWrapped(true)
    @messageModel.setPlaceholderText(PlaceholderText)
