1 # This file is part of KOED-Quiz, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
4 from django import template
5 from django.utils.safestring import mark_safe
6 from quiz.models import Quiz
8 register = template.Library()
11 @register.simple_tag(takes_context=True)
12 def quiz_footer(context):
13 return mark_safe(context.get('request').current_quiz.footer)