{% has_or_would_have_perm 'euth_communitydebate.propose_topic' request.user view.module as add_button_enabled %}
{% if add_button_enabled %}
{% trans 'Create Topic' %}
{% endif %}
{% for field in view.filter.form %}
{% if field.name != 'ordering' %}
{{ field }}
{% else %}
{{ field }}
{% endif %}
{{ field }}
{% endfor %}
{% if topic_list.count > 0 %}
{% for topic in topic_list %}
{% include "euth_communitydebate/includes/topic_list_tile.html" with topic=topic %}
{% endfor %}
{% if is_paginated %}
{% include "euth_ideas/includes/pagination.html"%}
{% endif %}
{% else %}