aboutsummaryrefslogtreecommitdiff
path: root/templates/qsjps_form.html
diff options
context:
space:
mode:
authorAlban Gruin2018-01-18 12:06:45 +0100
committerAlban Gruin2018-01-18 12:09:03 +0100
commitb1e5d205e37a2c0a5d4f42afe0bdce9e0fbf97dd (patch)
tree0ef63f4e428dec759b3cd907e884d2e9267c4687 /templates/qsjps_form.html
parent85112aafbcfe684b8b4d4fa2a47fd6cc2dcd2e25 (diff)
Modification de la gestion du formulaire qsjps
Renommage de la template contenant le formulaire
Diffstat (limited to 'templates/qsjps_form.html')
-rw-r--r--templates/qsjps_form.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/qsjps_form.html b/templates/qsjps_form.html
new file mode 100644
index 0000000..bc5e363
--- /dev/null
+++ b/templates/qsjps_form.html
@@ -0,0 +1,18 @@
+{% 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 /><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 %}