aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAlban Gruin2018-01-19 18:02:22 +0100
committerAlban Gruin2018-01-19 18:19:43 +0100
commit7a4bdfda6df3ca46f4805c145a42793cacc0809f (patch)
treef8d210a43250e518b66217469daaa012d654c0fe /templates
parent76fef8f3e0b3ad77f632a9e4d2c048607a1cf21b (diff)
Meilleur rendu du formulaire sur appareils mobiles
Diffstat (limited to 'templates')
-rw-r--r--templates/qsjps.html10
-rw-r--r--templates/qsjps_form.html2
2 files changed, 6 insertions, 6 deletions
diff --git a/templates/qsjps.html b/templates/qsjps.html
index 73290de..bb07b60 100644
--- a/templates/qsjps.html
+++ b/templates/qsjps.html
@@ -5,10 +5,10 @@
{% block body %}
<h3>Trouver une salle entre {{ form.begin.value }} et {{ form.end.value }}</h3>
<ul>
- {% for room in rooms %}
- <li>{{ room }}</li>
- {% empty %}
- <p>Aucune salle trouvée</p>
- {% endfor %}
+ {% for room in rooms %}
+ <li>{{ room }}</li>
+ {% empty %}
+ <p>Aucune salle trouvée</p>
+ {% endfor %}
</ul>
{% endblock %}
diff --git a/templates/qsjps_form.html b/templates/qsjps_form.html
index bc5e363..b68143f 100644
--- a/templates/qsjps_form.html
+++ b/templates/qsjps_form.html
@@ -9,7 +9,7 @@
{% for field in form.visible_fields %}
<tr>
<th>{{ field.label_tag }}</th>
- <td>{{ field }}{% if field.errors %}<br /><span>{{ field.errors|join:" " }}</span>{% endif %}</td>
+ <td>{{ field }}{% if field.errors %}<br /><small>{{ field.errors|join:" " }}</small>{% endif %}</td>
</tr>
{% endfor %}
<tr><th></th><td><input type="submit" value="Trouver une salle" /></td></tr>