|
|
@ -6,21 +6,21 @@ |
|
|
|
|
|
|
|
|
{% block content %} |
|
|
{% block content %} |
|
|
<form action="/inserta/{{ diaelegido }}" method="post"> |
|
|
<form action="/inserta/{{ diaelegido }}" method="post"> |
|
|
|
|
|
|
|
|
<div class="form-group"> |
|
|
|
|
|
|
|
|
<!-- |
|
|
|
|
|
<div class="field"> |
|
|
<label for="nombre">Nombre:</label> |
|
|
<label for="nombre">Nombre:</label> |
|
|
<input type="text" id="nombre" name="nombre" required class="form-control"><br> |
|
|
<input type="text" id="nombre" name="nombre" required class="form-control"><br> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="form-group"> |
|
|
|
|
|
|
|
|
--> |
|
|
|
|
|
<div class="field"> |
|
|
<!-- <label for="fecha">Fecha:</label> |
|
|
<!-- <label for="fecha">Fecha:</label> |
|
|
<input type="date" id="fecha" name="fecha" required class="form-control" min="{{ diaelegido }}", max="{{ diaelegido }}", value={{ diaelegido }}""><br> --> |
|
|
<input type="date" id="fecha" name="fecha" required class="form-control" min="{{ diaelegido }}", max="{{ diaelegido }}", value={{ diaelegido }}""><br> --> |
|
|
<p>Fecha de la reserva: {{ diaelegido }} </p> |
|
|
|
|
|
|
|
|
<textarea class="textarea" rows="1">Fecha de la reserva: {{ diaelegido }} </textarea> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="form-group"> |
|
|
|
|
|
|
|
|
<div class="field"> |
|
|
<label for="hora">Hora:</label> |
|
|
<label for="hora">Hora:</label> |
|
|
<input type="time" id="hora" name="hora" required class="form-control" list="horas-permitidas"><br> |
|
|
|
|
|
|
|
|
<input class="input" type="time" id="hora" name="hora" required class="form-control" list="horas-permitidas"><br> |
|
|
</div> |
|
|
</div> |
|
|
<datalist id="horas-permitidas"> |
|
|
<datalist id="horas-permitidas"> |
|
|
<option value="08:00"></option> |
|
|
<option value="08:00"></option> |
|
|
@ -35,7 +35,7 @@ |
|
|
<option value="17:00"></option> |
|
|
<option value="17:00"></option> |
|
|
</datalist> |
|
|
</datalist> |
|
|
<div class="form-group"> |
|
|
<div class="form-group"> |
|
|
<button type="submit" class="submit-btn">Reservar</button> |
|
|
|
|
|
|
|
|
<button type="submit" class="button is-medium">Reservar</button> |
|
|
</div> |
|
|
</div> |
|
|
</form> |
|
|
</form> |
|
|
|
|
|
|
|
|
|