mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-10 11:59:23 +00:00
Election bdd + first view
This commit is contained in:
13
election/templates/election/election_list.jinja
Normal file
13
election/templates/election/election_list.jinja
Normal file
@ -0,0 +1,13 @@
|
||||
{% extends "core/base.jinja" %}
|
||||
|
||||
{% block title %}
|
||||
{% trans %}Election list{% endtrans %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% for el in object_list %}
|
||||
{% if el.is_active %}
|
||||
<p>{{el}}</p>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endblock %}
|
Reference in New Issue
Block a user