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