poll: phoque it. XML is much more restrictive than html

This commit is contained in:
Eldeberen 2021-02-20 18:43:37 +01:00
parent e2c84df6e3
commit d0714d87b0
Signed by: Darks
GPG Key ID: 7515644268BE1433
1 changed files with 2 additions and 2 deletions

View File

@ -31,8 +31,8 @@
{% else %}
<form class="poll" action="{{ url_for('poll_vote', poll_id=poll.id) }}" method="post" enctype="multipart/form-data">
{{ poll_template.choices(poll) }}
<input type="submit" value="Envoyer">
<input id="csrf_token" name="csrf_token" type="hidden" value="{{ csrf_token() }}">
<input type="submit" value="Envoyer" />
<input id="csrf_token" name="csrf_token" type="hidden" value="{{ csrf_token() }}" />
</form>
{% endif %}
</div>