Nice display for elections

This commit is contained in:
2016-12-19 03:54:57 +01:00
parent 52e69b0ac1
commit c604282b77
7 changed files with 92 additions and 15 deletions

View File

@@ -6,8 +6,6 @@
{% block content %}
{% for el in object_list %}
{% if el.is_active %}
<p><a href="{{ url('election:detail', election_id=el.id) }}">{{el}}</a></p>
{% endif %}
<p><a href="{{ url('election:detail', election_id=el.id) }}">{{el}}</a></p>
{% endfor %}
{% endblock %}