{% load static %}
Update Question
Homik Oil and Gas Facility Engineering School
Toggle navigation
{{request.session.first_name}} {{request.session.last_name}}
{{request.session.first_name}} {{request.session.last_name}}
Sign out
Questions
Modify Question
Update Question
Update question
{% csrf_token %}
Course
{% for i in courses %} {% if i.id == course %}
{{i.course_name}}
{% else %}
{{i.course_name}}
{% endif %} {% endfor %}
Topic
{% for i in exams %} {% if i.id == exam %}
{{i.exam_name}}
{% else %}
{{i.exam_name}}
{% endif %} {% endfor %}
Question type
{% for i in question_types %} {% if i.q_type == question_type %}
{{i.q_type}}
{% else %}
{{i.q_type}}
{% endif %} {% endfor %}
{% if status == 1 %}
Active
Inactive
{% elif status == 0 %}
Active
Inactive
{% endif %}
{{question}}
{% if question_type == "Multiple Choice Single Answer" %}
Enter the no. of options:
Select
{% for i in numbers%} {% if i == options_number %}
{{i}}
{% else %}
{{i}}
{% endif %} {% endfor %}
{% elif question_type == "Multiple Choice Multiple Answer" %}
Enter the no. of options:
Select
{% for i in numbers%} {% if i == options_number %}
{{i}}
{% else %}
{{i}}
{% endif %} {% endfor %}
{% elif question_type == "Match the Column" %}
Enter the no. of questions:
Select
{% for i in numbers%} {% if i == questions_number %}
{{i}}
{% else %}
{{i}}
{% endif %} {% endfor %}
{% elif question_type == "Short Answer" %}
{{answers}}
{% elif question_type == "Long Answer" %}
{{answers}}
{% endif %}
{% if question_type == "Multiple Choice Single Answer" %}
Option no.
Option value
Select the correct answer
{% for i in options %}
{{i.option_desig}})
{% if i.answer == 1 %}
{% else %}
{% endif %}
{% endfor %} {% elif question_type == "Multiple Choice Multiple Answer" %}
Option no.
Option value
Select the correct answers
{% for i in options %}
{{i.option_desig}})
{% if i.answer == 1 %}
{% else %}
{% endif %}
{% endfor %} {% elif question_type == "Match the Column" %}
Question no.
Question
S no.
Answer
{% for i in answers %}
{{i.ques_no}})
{{i.ans_no}})
{% endfor %} {% endif %}