#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"))
#foreach($choice in $orderedSet1)
#set($choiceIdentifier = $r.toString($choice.identifier))
- $r.renderFlowStatics($choice.getFlowStatics())
#end
#foreach($choice in $orderedSet2)
#set($choiceIdentifier = $r.toString($choice.identifier))
- $r.renderFlowStatics($choice.getFlowStatics())
#end
#elseif($r.hasCssClass($interaction, "source-right"))
#foreach($choice in $orderedSet2)
#set($choiceIdentifier = $r.toString($choice.identifier))
- $r.renderFlowStatics($choice.getFlowStatics())
#end
#foreach($choice in $orderedSet1)
#set($choiceIdentifier = $r.toString($choice.identifier))
- $r.renderFlowStatics($choice.getFlowStatics())
#end
#elseif($r.hasCssClass($interaction, "source-bottom"))
#foreach($choice in $orderedSet2)
#set($choiceIdentifier = $r.toString($choice.identifier))
- $r.renderFlowStatics($choice.getFlowStatics())
#end
#foreach($choice in $orderedSet1)
#set($choiceIdentifier = $r.toString($choice.identifier))
- $r.renderFlowStatics($choice.getFlowStatics())
#end
#else
#foreach($choice in $orderedSet1)
#set($choiceIdentifier = $r.toString($choice.identifier))
- $r.renderFlowStatics($choice.getFlowStatics())
#end
#foreach($choice in $orderedSet2)
#set($choiceIdentifier = $r.toString($choice.identifier))
- $r.renderFlowStatics($choice.getFlowStatics())
#end
#end