 classnames = require 'classnames'
 
 {ExerciseActions, ExerciseStore} = require 'stores/exercise'
-
+ExercisePreview = require 'components/exercise/preview'
 PublishedModal  = require './published-modal'
 ExerciseTags    = require 'components/exercise/tags'
 Question        = require 'components/exercise/question'


    @state.tab


  # renderVocabExercise: (exercise) ->
  #   <Vocabulary id={ _.last(exercise.exercise_uids) } />

  render: ->
    exercise = ExerciseStore.get(@props.id)
    return null unless exercise

    # if (ExerciseStore.isVocabQuestion(@props.id))
    #   return @renderVocabExercise()

    showMPQ = ExerciseStore.isMultiPart(@props.id)


        </BS.Tabs>
      </div>

      <ExercisePreview exerciseId={@props.id} />

    </div>

