#set($responseIdentifier = $r.responseUniqueId($interaction)) #set($responseValue = $r.getResponseValue($interaction.responseIdentifier)) #set($orderedSet1 = $r.getVisibleOrderedChoices($interaction,0)) #set($orderedSet2 = $r.getVisibleOrderedChoices($interaction,1))
#if($interaction.getPrompt())
$r.renderPrompt($interaction.getPrompt())
#end #if($r.isInvalidResponse($interaction.responseIdentifier))
$r.translate("error.as.directed")
#end
#if($r.hasCssClass($interaction, "source-top")) #elseif($r.hasCssClass($interaction, "source-right")) #elseif($r.hasCssClass($interaction, "source-bottom")) #else #end
#if($r.renderDirectedScore($interaction))
$r.translate("results.points") #foreach($targetChoice in $orderedSet2) #end #foreach($sourceChoice in $orderedSet1) #set($sourceIndex = ${foreach.index}) #foreach($targetChoice in $orderedSet2) #end #end
$r.renderFlowStatics($targetChoice.getFlowStatics())
${r.renderFlowStatics($sourceChoice.getFlowStatics())} #if($r.isDirectedCorrect($interaction, $sourceChoice.identifier, $targetChoice.identifier)) #end $r.renderDirectedScoreAttribute($interaction, $sourceChoice.identifier, $targetChoice.identifier)
#end