aboutsummaryrefslogtreecommitdiff
path: root/views/signin.hbs
blob: dd823387e24afb5a9a68d8ef66171d205b4a5d87 (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
<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}}

            <h2><i class="fa fa-sign-in" aria-hidden="true"></i> Sign In</h2>
            <form action="/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 type="signin" class="btn btn-primary">Sign In</button>
            </form>
        </div>

    </div>

</main>