1 {% extends
"layout.html" %}
3 <h2>Administration - Liste des votes
</h2>
6 {% if session.logged_in %}
7 <form action=
"{{ url_for('add_vote') }}" method=post class=add-vote
>
10 <dd><input type=text size=
30 name=title
>
11 <dt>Description
:
12 <dd><textarea name=description rows=
5 cols=
40></textarea>
13 <dd><input type=submit value=Paf
>
18 {% for vote in votes %}
19 <li><h2>{{ vote.title }}
</h2>{{ vote.description|safe }}
21 <li><em>Pas encore de votes
</em>
24 Retour à l'
<a href=
"/">accueil
</a>