{%extends 'base2.html'%} {%block head%} {%endblock%} {%block title%} Create Test {%endblock%} {%block body%}

Create a test here

Choose which questions are to be a part of the test

{% csrf_token %} {{ TestForm.as_p }} {{TestForm.errors}} {{TestForm.non_field_errors}} {%for question in questions%}
  • {{question.question_text}}

    Difficulty: {{question.difficulty_set}}

    {%if question.ip%} {%load static%}

    {{question.imdesc}}

    {%endif%}

      {%for option in question.option_details%} {%if option.is_answer %}
    • {{option.option_text}}

    • {%else%}
    • {{option.option_text}}
    • {%endif%} {%endfor%}
  • {%endfor%}






    {%endblock%}