diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/qsjps.html | 10 | ||||
-rw-r--r-- | templates/qsjps_form.html | 2 |
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> |