|
@@ -10,8 +10,11 @@
|
10
|
10
|
<input name="cName" id="name" required></input><br>
|
11
|
11
|
<label for="cEmail">email</label>
|
12
|
12
|
<input name="cEmail" id="email" required></input><br>
|
13
|
|
- <input type="radio" name="station" id="station1" value="Fulano"> Fulano </input><br>
|
14
|
|
- <input type="radio" name="station" id="station2" value="Mengana"> Mengana </input><br>
|
|
13
|
+
|
|
14
|
+ {% for station in stations %}
|
|
15
|
+ <input type="radio" name="station" id={{ "station{}".format(station['s_id']) }} value={{ station['nombre_empleado'] }}> {{ "{} ({})".format(station['nombre_empleado'],station['oficina']) }} </input><br>
|
|
16
|
+ {% endfor %}
|
|
17
|
+
|
15
|
18
|
<input type="submit" value="Get ticket">
|
16
|
19
|
</form>
|
17
|
20
|
{% endblock %}
|