found easier way to get things done. so removed all the junk code.
{% extends 'base.html' %}
{% block content %}
<h3>{{event.title}}</h3>
{% if can_submit_feedback %}
<a href="/feedback/submit">Submit Feedback</a><br />
{% endif %}
{% if can_take_quiz %}
<a href="/quiz">Attempt quiz</a><br />
{% endif %}
{% endblock %}