summaryrefslogtreecommitdiffstats
path: root/modules-available/exams/templates/page-add-exam.html
blob: b610fcd87ff3621a157e8a259bea25838a803187 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<h1>Add Exam</h1>

<form class="form" method="POST" action="?do=exams&action=add">
    <div class="form-group">
        <label for="location">Location</label>
        <select name="location" class="form-control">
            {{#locations}}
            <option value="{{locationid}}"> {{locationname}} </option>
            {{/locations}}
        </select>
    </div>

    <div class="form-group">
        <label for="starttime">Start Time</label>
        <input class="form-control" type="datetime" name="starttime" />
    </div>

    <div class="form-group">
        <label for="endtime">Start Time</label>
        <input class="form-control" type="datetime" name="endtime" />
    </div>

    <input type="hidden" name="token" value="{{token}}" />
    <input type="submit" class="btn btn-success" value="Add Exam"></input>
</form>