2014-04-05 12:32:34 -04:00
|
|
|
{{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>
|
2014-04-10 16:36:50 -04:00
|
|
|
{{template "base/alert" .}}
|
2014-04-05 12:32:34 -04:00
|
|
|
{{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}}
|
2014-04-21 00:27:40 -04:00
|
|
|
<p>Sorry, your confirmation code has expired or is not valid.</p>
|
2014-04-05 12:32:34 -04:00
|
|
|
{{end}}
|
|
|
|
</form>
|
|
|
|
</div>
|
2014-04-20 02:54:26 -04:00
|
|
|
{{template "base/footer" .}}
|