Bez popisu

index.html 660B

123456789101112131415161718192021
  1. {% extends 'base.html' %}
  2. {% block header %}
  3. <h1>{% block title %}UPR Queue{% endblock %}</h1>
  4. {% endblock %}
  5. {% block content %}
  6. <form action="" method="post">
  7. {{ form.hidden_tag() }}
  8. {{ form.cName.label }}<br>
  9. {{ form.cName }}<br>
  10. {{ form.cEmail.label }}<br>
  11. {{ form.cEmail }}<br>
  12. {% for station in stations %}
  13. <input type="radio" name="station" id={{ "station{}".format(station['s_id']) }} value={{ station['s_id'] }} required> {{ "{} ({})".format(station['nombre_empleado'],station['oficina']) }} </input><br>
  14. {% endfor %}
  15. {{ form.submit }}
  16. </form>
  17. {% endblock %}