1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-17 12:12:46 -05:00
forgejo/templates/user/auth/reset_passwd.tmpl

26 lines
1.1 KiB
Cheetah
Raw Normal View History

{{template "ng/base/head" .}}
2014-08-10 00:02:00 -04:00
{{template "ng/base/header" .}}
<div id="sign-wrapper">
2014-09-19 20:11:34 -04:00
<form class="form-align form panel sign-panel sign-form container panel-radius" id="sign-up-form" action="{{AppSubUrl}}/user/reset_password?code={{.Code}}" method="post">
2014-04-05 12:32:34 -04:00
{{.CsrfTokenHtml}}
2014-08-10 00:02:00 -04:00
<div class="panel-header">
<h2>{{.i18n.Tr "auth.reset_password"}}</h2>
2014-04-05 12:32:34 -04:00
</div>
2014-08-10 00:02:00 -04:00
<div class="panel-content">
{{template "ng/base/alert" .}}
{{if .IsResetForm}}
<div class="field">
<label class="req" for="password">{{.i18n.Tr "password"}}</label>
<input class="ipt ipt-large ipt-radius {{if .Err_Password}}ipt-error{{end}}" id="password" name="password" type="password" value="{{.password}}" required/>
2014-04-05 12:32:34 -04:00
</div>
2014-08-10 00:02:00 -04:00
<hr/>
<label></label>
<button class="btn btn-blue btn-large btn-radius">{{.i18n.Tr "auth.reset_password_helper"}}</button>
{{else}}
<p>{{.i18n.Tr "auth.invalid_code"}}</p>
{{end}}
2014-04-05 12:32:34 -04:00
</div>
</form>
</div>
2014-08-10 00:02:00 -04:00
{{template "ng/base/footer" .}}