Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="card">
- <div class="card-body">
- <div class="">
- {% for types in question_types %}
- {% get_questions_by_type paper.get_all_ordered_questions types as questions_by_type %}
- {% if types == "mcq" %} Single Correct Choice:
- {% elif types == "mcc" %} Multiple Correct Choice:
- {% elif types == "code" %} Programming:
- {% elif types == "upload" %} Assignment Upload:
- {% elif types == "integer" %} Integer Blanks:
- {% elif types == "string" %} String Blanks:
- {% elif types == "float" %} Float Blanks:
- {% elif types == "arrange" %} Arranging Options:
- {% endif %}
- <b>:</b>
- <b> {% get_question_by_index paper.get_all_ordered_questions questions_by_type as questions_index %}
- {% if questions_index %}
- {% for question_index in questions_index %}
- {{question_index|add:1}}
- {% endfor %}
- {% else %}
- N/A
- {% endif %}
- </b>
- <br>
- {%endfor%}
- </div>
- </div>
- </div>
Add Comment
Please, Sign In to add comment