diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/form_qsjps.html | 12 |
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 %} |