summaryrefslogtreecommitdiffstats
path: root/templates/user/reset_passwd.tmpl
blob: e65c43d5d9de229571159cb307dfc6e844dc3fbf (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
{{template "base/head" .}}
{{template "base/navbar" .}}
<div id="body" class="container">
    <form action="/user/reset_password?code={{.Code}}" method="post" class="form-horizontal card" id="login-card">
        {{.CsrfTokenHtml}}
        <h3>Reset Your Pasword</h3>
        {{template "base/alert" .}}
        {{if .IsResetForm}}
        <div class="form-group">
            <label class="col-md-4 control-label">Password: </label>
            <div class="col-md-6">
                <input name="passwd" type="password" class="form-control" placeholder="Type your password" required="required">
            </div>
        </div>
        <hr/>
        <div class="form-group">
            <div class="col-md-offset-4 col-md-6">
                <button type="submit" class="btn btn-lg btn-primary">Click here to reset your password</button>
            </div>
        </div>
        {{else}}
        <p>Sorry, your confirmation code has exipired or is not valid.</p>
        {{end}}
    </form>
</div>
{{template "base/footer" .}}