-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreportform.ejs
38 lines (34 loc) · 1.11 KB
/
reportform.ejs
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
26
27
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE html>
<html>
<head>
<% include header %>
<link rel='stylesheet' href='/stylesheets/style.css'/>
</head>
<body>
<p>Report some poop.</p>
<form class="form-horizontal" method="post" action="/report/submit">
<div class="form-group">
<label for="inputCode" class="col-lg-2 control-label">Code</label>
<div class="col-lg-10">
<input type="text" class="form-control" id="inputCode" name="code" placeholder="Enter your route code." required/>
</div>
</div>
<div class="form-group">
<label for="inputType" class="col-lg-2 control-label">Report Type</label>
<div class="col-lg-10">
<select name="type" id="inputType" />
<% for(var i=0; i<types.length; i++){ %>
<option value="<%= types[i] %>"><%= types[i] %></option>
<% } %>
</select>
</div>
</div>
<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
<button type="submit" class="btn btn-default">Submit</button>
</div>
</div>
</form>
<% include footer %>
</body>
</html>