{% extends '::base.html.twig' %} {% form_theme form 'form_table_layout.html.twig' %} {% block usercss %} {{ parent() }} {% endblock %} {% block body -%}
Search Question
{{ form_rest(form) }}

Back

Add Question to {{ exam.examname }}

Maximum Questions
{{ exam.maxquestions }}
Questions Added
{{ added_question }}
Remaining
{{ remaining_question }}
Duration[in minutes]
{{ exam.duration }}
{% set percentage = (added_question/exam.maxquestions)*100 %} {% set percentage = percentage|round(1, 'floor') %}

Exam Questions {{ percentage }}% questions added

{{ percentage }}% Complete (success)
{% set disabled = "" %} {% if remaining_question == 0 %} {% set disabled = "disabled" %} {% endif %}
{# alert-danger #}
{% set slno = 1 %} {% for question in questions %} {% set slno = slno + 1 %} {% endfor %}
# Question Subject Question Type Actions
{{ slno }}
{{ question.question|raw }}
Positive Feedback
{{ question.positivefeedback }}
Negative Feedback
{{ question.negativefeedback }}
{{ question.subject }} {{ question.questiontype }} {% if entered_question[question.id] == 0 %} {% set add_btn_style = "block" %} {% set rem_btn_style = "none" %} {% else %} {% set add_btn_style = "none" %} {% set rem_btn_style = "block" %} {% endif %}
{{ knp_pagination_render(questions, 'AppBundle:Default:slidingAjax.html.twig') }}
{% endblock %} {% block userscripts %} {% endblock %}