{% extends 'base.html' %} {% load i18n %} {% load static carer_tags %} {% block title %}{% trans "Quiz" %}{% endblock %} {% block content %} {% csrf_token %} {{ quiz.name }} {% for question in current_questions %} {% include "quiz/partials/question_input.html" with question=question %} {% endfor %} {% if page_obj.has_previous %} Previous {% endif %} {% if page_obj.has_next %} Next {% endif %} {% if not page_obj.has_next %} Submit Quiz {% endif %} {% endblock %}