fast date picker fix

This commit is contained in:
Łukasz Jędyk 2019-01-22 20:34:02 +01:00
parent 79787db1a5
commit 71595d5af2

View File

@ -21,8 +21,8 @@
<table id="hotels">
<col style="width:10%">
<col style="width:30%">
<col style="width:25%">
<col style="width:35%">
<col style="width:15%">
<col style="width:45%">
<th>Numer pokoju</th>
<th>Typ pokoju</th>
<th>Cena</th>
@ -38,9 +38,9 @@
{% csrf_token %}
<input type="hidden" name="room" value="{{ room.room_number }}">
<div class="button-box" >
<button>Rezerwuj</button><br>
<input type="date" name="begindate">
<input type="date" name="enddate">
Od: <input type="date" name="begindate">
Do: <input type="date" name="enddate"><br>
<button>Rezerwuj</button>
</div>
</form>
{% else %}
@ -48,9 +48,9 @@
{% csrf_token %}
<input type="hidden" name="room" value="{{ room.room_number }}">
<div class="button-box" >
<button>Rezerwuj</button><br>
<input type="date" name="begindate">
<input type="date" name="enddate">
Od: <input type="date" name="begindate">
Do: <input type="date" name="enddate"><br>
<button>Rezerwuj</button>
</div>
</form>
{% endif %}