diff options
author | Alban Gruin | 2018-01-18 12:17:08 +0100 |
---|---|---|
committer | Alban Gruin | 2018-01-18 12:17:08 +0100 |
commit | 175e1c1139a77a02f3c52d77a4d2b118c2b2e578 (patch) | |
tree | 79a90b238191d2e3cab6c6435c2cc1a625b998d3 /templates | |
parent | b1e5d205e37a2c0a5d4f42afe0bdce9e0fbf97dd (diff) |
Ajout d’une template pour lister les salles trouvées
Diffstat (limited to 'templates')
-rw-r--r-- | templates/qsjps.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/qsjps.html b/templates/qsjps.html new file mode 100644 index 0000000..73290de --- /dev/null +++ b/templates/qsjps.html @@ -0,0 +1,14 @@ +{% extends "index.html" %} + +{% block title %}Trouver une salle – {% endblock %} + +{% 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 %} + </ul> +{% endblock %} |