     @div class: "md-writer md-writer-new-post overlay from-top", =>
       @label "Add New Post", class: "icon icon-file-add"
       @div =>
-        @label "Path", class: "message"
+        @label "Directory", class: "message"
         @subview "pathEditor", new EditorView(mini: true)
         @label "Date", class: "message"
         @subview "dateEditor", new EditorView(mini: true)

    super

  updatePath: ->
    @message.text @getPostPath()

  display: ->
    @previouslyFocusedElement = $(':focus')


  generateFrontMatters: ->
    """
---
layout: post
title: '#{@titleEditor.getText()}'
date: '#{@dateEditor.getText()} #{utils.getTimeStr()}'
---
    """

  convertTitle: (title) ->
