Last active
August 29, 2015 13:56
-
-
Save johnnncodes/9093326 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
each item in data.level.exam.questionsMultiChoice | |
p= item.question | |
each choice in item.choices | |
p= choice.choice | |
// need to output | |
<p>Question</p> | |
<p>choice</p> | |
<p>choice</p> | |
// instead of | |
<p>Question | |
<p>choice</p> | |
<p>choice</p> | |
</p> | |
// my current solution | |
each item in data.level.exam.questionsMultiChoice | |
- choices = item.choices | |
p= item.question | |
each choice in choices | |
p= choice.choice |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment