   displayName: 'AnswerList'
 
   createAnswers: ->
-    if @props.task.type == 'drawing'
-      items = @props.task.tools
-    else
-      items = @props.task.answers
+    switch @props.task.type
+      when 'drawing'
+        items = @props.task.tools
+      when 'survey'
+        items = {}
+        idx = 0
+        for order in @props.task.choicesOrder
+          items[idx] = @props.task.choices[order]
+          idx += 1
+      else
+        items = @props.task.answers
     answers = []
     for idx, item of items
       inputs =

  displayName: 'AnswerItem'

  render: ->
    if @props.inputs.type == 'drawing'
      icon = <span className='drawing-tool-icon-vis' style={color: @props.inputs.item.color}>{icons[@props.inputs.item.type]}</span>
    else
      icon = undefined
    <li className='answer-item' id={@props.inputs.listId}>
      <div className='lab'>
        {icon}

        item: item
        listId: @props.inputs.uuid.get(idx)
        type: @props.task.type
        images: @props.task.images
      answers.push(<AnswerItem jp={@props.jp} key={"Al_#{idx}"} inputs={inputs} eps={@props.inputs.eps} />)
    answers

