app/helpers/interactive_page_helper.rb
# FIXME: false means the embeddable should be shown in the normal order
#  in the assessment block. true means the embeddable is a labbook the activity
#  is in a mode where embeddables are shown below the interactive
false means the embeddable should be shown in the normal order
in the assessment block. true means the embeddable is a labbook the activity
is in a mode where embeddables are shown below the interactive
false means the embeddable should be shown in the normal order in the assessment block . true means the embeddable is a labbook the activity is in a mode where embeddables are shown below the interactive
def show_labbook_in_assessment_block?(embeddable_answer)
    question = embeddable_answer.respond_to?(:question) && embeddable_answer.question
    if question && question.is_a?(Embeddable::Labbook)
      return false unless question.interactive
      return labbook_is_under_interactive?
    end
    return false
  end
def show_labbook_in_assessment_block? ( embeddable_answer ) question = embeddable_answer . respond_to? ( :question ) && embeddable_answer . question if question && question . is_a? ( Embeddable :: Labbook ) return false unless question . interactive return labbook_is_under_interactive? end return false end
FIXME: false means the embeddable should be shown in the normal order
in the assessment block.
FIXME : false means the embeddable should be shown in the normal order in the assessment block .
embeddable_answer
<not_specific>