diff options
Diffstat (limited to 'modules-available/exams/templates/page-add-exam.html')
-rw-r--r-- | modules-available/exams/templates/page-add-exam.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/modules-available/exams/templates/page-add-exam.html b/modules-available/exams/templates/page-add-exam.html new file mode 100644 index 00000000..b610fcd8 --- /dev/null +++ b/modules-available/exams/templates/page-add-exam.html @@ -0,0 +1,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> |