You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

32 lines
847 B

{% extends 'base.html' %}
{% block header %}
<h2>{% block title %}Hacer una nueva reserva{% endblock title %}</h2>
{% endblock header %}
{% block content %}
<div>
<p>El día seleccionado es {{ diaelegido }} {{ horashoy[0] }}</p>
</div>
<div>
{% for fila in horashoy %}
{% for columna in range(14) %}
<p>{{ fila["fecha"] }}</p>
{% endfor %}
{% endfor %}
</div>
<div class="contenedor">
{% for row in range(1) %}
{% for col in range(14) %}
<form class=horarios action="/reservahoras" method="POST">
<input type="hidden" name="row" value="{{ row }}">
<input type="hidden" name="col" value="{{ col }}">
<button type="submit" class="cuadrado"></button>
</form>
{% endfor %}
{% endfor %}
</div>
{% endblock content %}