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