{% load i18n static cosinnus_tags widget_tweaks %} {% group_url 'cosinnus:poll:list' group=group as poll_list_page %} {% group_url 'cosinnus:poll:list_past' group=group as poll_list_past_page %} {% if return_to == "polls" %} {% else %} {# Poll list view #} {% endif %}