diff options
author | Alban Gruin | 2018-04-25 21:18:25 +0200 |
---|---|---|
committer | Alban Gruin | 2018-04-25 21:18:25 +0200 |
commit | 1789cbf1dcf555b35785e47237fb0a1f95720a45 (patch) | |
tree | e1645a307ee790bdd50751c8bde5694890e0257b /templates/qsjps_form.html | |
parent | 81046d1e44380fd961efbc308a85d134f33d2bab (diff) | |
parent | 4c82869e3a590c982c43958e3e4b0f9fad440678 (diff) |
Merge branch 'futur'
Diffstat (limited to 'templates/qsjps_form.html')
-rw-r--r-- | templates/qsjps_form.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/templates/qsjps_form.html b/templates/qsjps_form.html new file mode 100644 index 0000000..280a7ad --- /dev/null +++ b/templates/qsjps_form.html @@ -0,0 +1,19 @@ +{% extends "index.html" %} + +{% block title %}Trouver une salle – {% endblock %} + +{% block body %} + <h3>Trouver une salle</h3> + <form action="{% url "qsjps" %}" method="post"> + <table> + {% for field in form.visible_fields %} + <tr> + <th>{{ field.label_tag }}</th> + <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> + </table> + </form> + <a href="{% url "rooms" %}">Retour à la liste des salles</a> +{% endblock %} |