blob: ebe78d14c67a4d544bafc5ececa955dae6a011d4 (
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
|
<main id="solutions-main">
<div class="row" id="solutions-main">
<div class="col-md-4 col-md-offset-4 col-sm-6 col-sm-offset-3">
{{# if success }}
<section class="alert alert-success">
<!-- Change those to banners later -->
<h2>Signup Successful!</h2>
</section>
{{ else }}
{{# if errors }}
<section class="alert alert-danger">
<ul>
{{# each errors }}
<li>{{ this.msg }}</li>
{{/each}}
</ul>
</section>
{{/if}}
{{/if}}
{{#if flashMsg}}
<section class="alert alert-danger">
{{flashMsg}}
</section>
{{/if}}
<h3><i class="fa fa-sign-in" aria-hidden="true"></i> Sign In</h3>
<form action="/user/signin" method="post">
<div class="form-group">
<input type="text" class="form-control" placeholder="New Username" name="usrname">
</div>
<div class="form-group">
<input type="password" class="form-control" placeholder="New Password" name="password">
</div>
<input type="hidden" name="_csrf" value="{{ csrfToken }}">
<button class="btn btn-primary">Sign In</button>
</form>
</div>
</div>
</main>
|