wyrownanie formularza
This commit is contained in:
parent
ebff9c20c6
commit
56eeed0f98
@ -23,7 +23,17 @@
|
|||||||
<form action="" method="post">
|
<form action="" method="post">
|
||||||
{{ error }}
|
{{ error }}
|
||||||
{% csrf_token %}
|
{% 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="room" value="{{ room_number }}">
|
||||||
<input type="hidden" name="begindate" value="{{ begin_date }}">
|
<input type="hidden" name="begindate" value="{{ begin_date }}">
|
||||||
<input type="hidden" name="enddate" value="{{ end_date }}">
|
<input type="hidden" name="enddate" value="{{ end_date }}">
|
||||||
|
Loading…
Reference in New Issue
Block a user