     @survey.rows.trigger("reset")
   publishButtonClick: (evt)->
     @onPublish.call(@, arguments)
-
+  editList: (evt)->
+    $et = $(evt.target)
+    listName = $(evt.target).data("listName")
+    list = @survey.choices.get(listName)
+    lv = new XLF.EditListView(choiceList: list, survey: @survey)
+    $lvel = lv.render().$el.css $et.position()
+    $et.parents("div").eq(0).append $lvel
 
 ###
 This is the view for the survey-wide details that appear at the bottom

          inp.val(label)
        inp.change (evt)->
          val = $(evt.target).val()
          cleanedVal = sluggify val
          option.set "label", val
          option.set "name", cleanedVal
          ``
        optionsEl.append $("<p>").html(inp)
    @
  saveList: ->
    if @model.isValid()
      @survey.choices.add @model
      @$el.remove()
      if @rowView
        @rowView.model.get("type").set("listName", @model.get("name"))
      @survey.trigger "change"
    else
      @$(".error").text("Error saving: ").show()

Helper methods:
  sluggify
###
XLF.sluggify = (str)->
  # Convert text to a slug/xml friendly format.
  str.toLowerCase().replace(/\s/g, '_').replace(/\W/g, '')