aboutsummaryrefslogtreecommitdiff
path: root/templates/qsjps_form.html
diff options
context:
space:
mode:
authorAlban Gruin2018-04-25 21:26:03 +0200
committerAlban Gruin2018-04-25 21:26:03 +0200
commit54c5dbb98293acea9b470808e5a35e99c004f265 (patch)
tree7fb350d07e2f2a4d687b00fd034e638bd02f8526 /templates/qsjps_form.html
parent772caa72ce7f80bfeb5fbb1d05b57838dafd48c3 (diff)
parent5488a93bf2e04d2f19e287186011dcbb436a238b (diff)
Merge branch 'stable/0.13.z' into prod/pa1ch/0.y.z
Diffstat (limited to 'templates/qsjps_form.html')
-rw-r--r--templates/qsjps_form.html19
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 %}