Facebook
From anh tu, 3 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 58
  1. <form id="formAnswerQuestion" class="form-answer-question" action="/result?eid={{exam_id}}"
  2.                                                 method="POST">
  3.                                                 {% for question in questions.questions | shuffle %}
  4.                                                 <div class="form-control-components">
  5.                                                         <div class="form-Control">
  6.                                                                 <p>Question: <em
  7.                                                                                 style="color: red; border: 1px bold;font-size:20px;">{{question.question_name}}</em>
  8.                                                                 </p>
  9.                                                         </div>
  10.                                                         <div class="form-Control">
  11.                                                                 <select name="{{question.question_id}}" id="{{answer.value}}">
  12.                                                                         {% for answer in question.answer | shuffle %}
  13.                                                                         <option value="{{answer.id}}">{{answer.value}}</option>
  14.                                                                         {% endfor %}
  15.                                                                 </select>
  16.                                                         </div>
  17.                                                 </div>
  18.                                                 {% endfor %}
  19.                                                 <button type="submit"
  20.                                                         style="float:right; font-size:18px; padding:15px 30px;cursor: pointer;">Done</button>
  21.                                         </form>