-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.hbs
46 lines (46 loc) · 1.63 KB
/
home.hbs
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
39
40
41
42
43
44
45
46
<div class="wrapper">
<form method="post" action="/reg_numbers">
<label for="regNumba" id="regLabel">Registration Number: </label><br>
<input type="text" name="regNumba" placeholder="Enter registration number" id="regNumba"><br>
{{#if messages.blank}}
<p id="blank">{{messages.blank}}</p>
{{/if}}
{{#if messages.success}}
<p id="success">{{messages.success}}</p>
{{/if}}
{{#if messages.duplicate}}
<p id="duplicate">{{messages.duplicate}}</p>
{{/if}}
<button type="submit" class="add" name="button">Add</button>
<div class="radios">
</form>
<label for="location"><span>Filter: </span><br></label>
<label for="rr0">
<input onclick="radioSubmit()" type="radio" class="radio" id="rr0" name="location" value="All">
All
</label>
<label for="rr1">
<input onclick="radioSubmit()" type="radio" class="radio" id="rr1" name="location" value="CA">
Cape Town
</label>
<label for="rr2">
<input onclick="radioSubmit()" type="radio" class="radio" id="rr2" name="location" value="CJ">
Paarl
</label>
<label for="rr3">
<input onclick="radioSubmit()" type="radio" class="radio" id="rr3" name="location" value="EC">
Eastern Cape
</label>
</div>
<div class="plates">
{{#each reg}}
<li>{{this.regNum}}</li>
{{/each}}
<!-- <p class="nPlate">CA 11111</p>
<p class="nPlate">CJ 22222</p>
<p class="nPlate">EC 33333</p>
<p class="nPlate">CA 44444</p>
<p class="nPlate">CJ 55555</p>
<p class="nPlate">EC 66666</p> -->
</div>
</div>