blob: 2ed646813690f3cff2672c8d45c9a79ba3a10f73 (
plain)
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
{{template "header.html"}}
{{template "navbar.html"}}
<div class="container">
<div class="row">
{{range .Error}}
<h4 class="col-md-4 col-md-offset-4 alert alert-danger alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="close"><span aria-hidden="true">×</span></button>
{{.}}
</h4>
{{end}}
{{range .Success}}
<h4 class="col-md-4 col-md-offset-4 alert alert-success alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="close"><span aria-hidden="true">×</span></button>
{{.}}
</h4>
{{end}}
</div>
</div>
<div class="container">
<div class="row">
</div>
</div>
<div class="container">
<div class="row">
<form class="form-horizontal" method='post' action='/register'>
<fieldset>
<!-- Form Name -->
<div class="text-center">
<legend>Register!</legend>
</div>
<!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label" for="Name">Name:</label>
<div class="col-md-4">
<input id="Name" name="Name" placeholder="Your Name" class="form-control input-md" required="" type="text">
</div>
</div>
<!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label" for="Password">Password:</label>
<div class="col-md-4">
<input id="Password" name="Password" placeholder="Your Password" class="form-control input-md" required="" type="password">
</div>
</div>
<!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label" for="Email">Email:</label>
<div class="col-md-4">
<input id="Email" name="Email" placeholder="Your Email" class="form-control input-md" required="" type="text">
</div>
</div>
<!-- Button -->
<div class="form-group">
<label class="col-md-4 control-label" for="submit"></label>
<div class="col-md-4">
<button class="btn btn-primary">Submit</button>
</div>
</div>
</fieldset>
</form>
</div>
</div>
{{template "footer.html"}}
|