aboutsummaryrefslogtreecommitdiff
path: root/templates/form_qsjps.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/form_qsjps.html')
-rw-r--r--templates/form_qsjps.html12
1 files changed, 10 insertions, 2 deletions
diff --git a/templates/form_qsjps.html b/templates/form_qsjps.html
index 2d97a89..3a9bcf8 100644
--- a/templates/form_qsjps.html
+++ b/templates/form_qsjps.html
@@ -3,8 +3,16 @@
{% block title %}QSJPS – {% endblock %}
{% block body %}
+ <h3>Trouver une salle</h3>
<form action="{% url "qsjps" %}" method="post">
- {{ form }}
- <input type="submit" value="Trouver une salle" />
+ <table>
+ {% 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>
+ </tr>
+ {% endfor %}
+ <tr><th></th><td><input type="submit" value="Trouver une salle" /></td></tr>
+ </table>
</form>
{% endblock %}