+_ = require 'underscore'
+
 View = require 'lib/view'
 
 tpl = require 'templates/routes/edit'

module.exports = class EditRouteView extends View
  template: tpl
  autoRender: yes

  events:
    'submit form': 'submitForm'


  render: ->
    super

    _.defer =>
      @$('input').get(0).focus()