     $input = $("<input type='text' value='#{$this.text()}'/>")
     $this.replaceWith($input)
     $input.focus()
+
+  buttonify: ($input, moveName) =>
+    type = MoveData[moveName].type.toLowerCase()
+    $input.replaceWith("""<div class="button move-button #{type}">#{moveName}</div>""")
 
   setSelectedIndex: (index) =>
     pokemon = @collection.at(index)


    view.html @editTemplate(window: window, speciesList: @speciesList, itemList: @itemList, pokemon: pokemon)
    @renderStats(pokemon)

  renderModal: =>
    if $('#import-team-modal').length == 0

  selectMove: (e) =>
    $this = $(e.currentTarget)
    moveName = $this.data('move-id')
    $moves = @getActivePokemonView().find('.selected_moves')
    $input = $moves.find('input').first()
    @buttonify($input, moveName)
    $moves.find('input').first().focus()

    # Record moves
