daily pastebin goal
79%
SHARE
TWEET

Untitled

a guest Nov 8th, 2018 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div class="card">
  2.   <div class="card-body">
  3.     <div class="">
  4.       {% for types in question_types %}
  5.       {% get_questions_by_type  paper.get_all_ordered_questions types as questions_by_type %}
  6.         {% if types == "mcq" %}  Single Correct Choice:
  7.         {% elif types == "mcc" %}  Multiple Correct Choice:
  8.         {% elif types == "code" %} Programming:
  9.         {% elif types == "upload" %} Assignment Upload:
  10.         {% elif types == "integer" %} Integer Blanks:
  11.         {% elif types == "string" %} String Blanks:
  12.         {% elif types == "float" %} Float Blanks:
  13.         {% elif types == "arrange" %} Arranging Options:  
  14.         {% endif %}      
  15.         <b>:</b>
  16.          <b>  {% get_question_by_index paper.get_all_ordered_questions questions_by_type as questions_index %}
  17.               {% if questions_index %}
  18.                 {% for question_index in questions_index %}
  19.                   {{question_index|add:1}}
  20.                 {% endfor %}
  21.               {% else %}
  22.                 N/A
  23.               {% endif %}
  24.           </b>
  25.            <br>
  26.       {%endfor%}  
  27.     </div>
  28. </div>
  29. </div>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top