   events:
     "click .delete-row": "clickRemoveRow"
     "click .insert-row": "clickInsertRow"
+    "click .edit-list": "editList"
     "click #add-question": "addNewRow"
     "click #publish-survey": "publishButtonClick"
 

    "click .list-delete-row": "deleteRow"
  render: ->
    @$el.html """
      <p class="new-list-text">New list: <span class="name"></span></p>
      <div class="options"></div>
      <p><button class="list-add-row">[+] Add option</button></p>
      <p class="error" style="display:none"></p>
      <p><button class="list-ok">OK</button><button class="list-cancel">Cancel</button></p>
    """
    nameEl = @$(".name")
    nameEl.text(name)  if (name = @model.get("name"))
    eipOpts =
      callback: (u, ent)=>
        cleanName = sluggify ent
        @model.set("name", cleanName)
        cleanName
    nameEl.editInPlace(eipOpts)


      v = new XlfDetailView(model: val, rowView: @).renderInRowView(@)
    @
  newListView: (rv)->
    lv = new XLF.EditListView(choiceList: new XLF.ChoiceList(), survey: @model._parent, rowView: @)
    $lvel = lv.render().$el.css @$(".select-list").position()
    @$el.append $lvel

