polls: small fix on template

This commit is contained in:
Darks 2021-03-16 18:51:11 +01:00
parent 40aeb1674e
commit d7d8244da9
Signed by untrusted user: Darks
GPG Key ID: 7515644268BE1433
1 changed files with 4 additions and 4 deletions

View File

@ -10,8 +10,8 @@
<h1>Créer un sondage</h1>
<form action="" method="post">
<div>
{{ form.title.label }}<br>
{{ form.title(size=32) }}<br>
{{ form.title.label }}
{{ form.title(size=32) }}
{% for error in form.title.errors %}
<span style="color: red;">{{ error }}</span>
{% endfor %}
@ -24,8 +24,8 @@
{% endfor %}
</div>
<div>
{{ form.type.label }}<br>
{{ form.type }}<br>
{{ form.type.label }}
{{ form.type }}
{% for error in form.type.errors %}
<span style="color: red;">{{ error }}</span>
{% endfor %}