wyrownanie formularza

This commit is contained in:
Łukasz 2019-01-30 22:05:23 +01:00
parent ebff9c20c6
commit 56eeed0f98

View File

@ -21,9 +21,19 @@
<h1>Formularz rezerwacji</h1>
<div id="reservationform">
<form action="" method="post">
{{ error }}
{{ error }}
{% csrf_token %}
{{ form.as_p }}
<table>
<th><th>
{% for field in form %}
<tr>
<td>{{ field.label }}</td>
<td></td><td></td><td></td><td></td>
<td>{{ field }}</td>
</tr>
<tr></tr><tr></tr><tr></tr><tr></tr><tr></tr><tr></tr>
{% endfor %}
</table>
<input type="hidden" name="room" value="{{ room_number }}">
<input type="hidden" name="begindate" value="{{ begin_date }}">
<input type="hidden" name="enddate" value="{{ end_date }}">