questions.tpl 538 B

123456789101112131415161718192021
  1. {% extends 'layout/layout_1_col.tpl'|get_template %}
  2. {% import 'default/macro/macro.tpl' as display %}
  3. {% block content %}
  4. {{ form }}
  5. {% for question in pagination %}
  6. {{ display.collapse(
  7. question.iid,
  8. '#' ~ question.courseCode ~'-'~ question.iid ~ ' - ' ~ question.question,
  9. question.questionData,
  10. false,
  11. false
  12. )
  13. }}
  14. {% endfor %}
  15. {% if question_count > pagination_length %}
  16. {{ pagination }}
  17. {% endif %}
  18. {% endblock %}