summaryrefslogtreecommitdiffstats
path: root/tools/pharos-dashboard/templates/booking/booking_form.html
blob: f13c4b41e06eb9c8d587803358183fc37e4949a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{% load bootstrap3 %}


{% bootstrap_form_errors form type='non_fields' %}
<form method="post" action="" class="form" id="bookingform">
    {% csrf_token %}

    <div class='input-group' id='starttimepicker'>
        {% bootstrap_field form.start addon_after='<span class="glyphicon glyphicon-calendar"></span>' %}
    </div>
    <div class='input-group' id='endtimepicker'>
        {% bootstrap_field form.end addon_after='<span class="glyphicon glyphicon-calendar"></span>' %}
    </div>
    {% bootstrap_field form.purpose %}

    {% buttons %}
        <button type="submit" class="btn btn btn-success">
            Book
        </button>
    {% endbuttons %}
</form>