| @ -1,18 +1,28 @@ | |||
| {% extends 'base.html' %} | |||
| {% block header %} | |||
| <h2>{% block title %}Reservas de padel{% endblock title %}</h2> | |||
| <h2>{% block title %}Hacer una nueva reserva{% endblock title %}</h2> | |||
| {% endblock header %} | |||
| {% block content %} | |||
| <h2>Hacer una nueva reserva</h2> | |||
| <form action="/reservar" method="post"> | |||
| <div class="form-group"> | |||
| <label for="nombre">Nombre:</label> | |||
| <input type="text" id="nombre" name="nombre" required><br> | |||
| <input type="text" id="nombre" name="nombre" required class="form-control"><br> | |||
| </div> | |||
| <div class="form-group"> | |||
| <label for="fecha">Fecha:</label> | |||
| <input type="date" id="fecha" name="fecha" required><br> | |||
| <input type="date" id="fecha" name="fecha" required class="form-control"><br> | |||
| </div> | |||
| <div class="form-group"> | |||
| <label for="hora">Hora:</label> | |||
| <input type="time" id="hora" name="hora" required><br> | |||
| <button type="submit">Reservar</button> | |||
| <input type="time" id="hora" name="hora" required class="form-control"><br> | |||
| </div> | |||
| <div class="form-group"> | |||
| <button type="submit" class="submit-btn">Reservar</button> | |||
| </div> | |||
| </form> | |||
| {% endblock content %} | |||