github.com/Azareal/Gosora@v0.0.0-20210729070923-553e66b59003/templates/password_reset_token.html (about)

     1  {{template "header.html" . }}
     2  <main id="password_reset_page">
     3  	<div class="rowblock rowhead">
     4  		<div class="rowitem"><h1>{{lang "password_reset_token_head"}}</h1></div>
     5  	</div>
     6  	<div class="rowblock the_form">
     7  		<form action="/accounts/password-reset/token/submit/"method="post">
     8  			<input name="uid"value="{{.UID}}"type="hidden">
     9  			<input name="token"value="{{.Token}}"type="hidden">
    10  			<div class="formrow">
    11  				<div class="formitem formlabel"><a id="password_label">{{lang "password_reset_token_password"}}</a></div>
    12  				<div class="formitem"><input name="password"type="password"autocomplete="new-password"placeholder="*****"aria-labelledby="password_label"required></div>
    13  			</div>
    14  			<div class="formrow">
    15  				<div class="formitem formlabel"><a id="confirm_password_label">{{lang "password_reset_token_confirm_password"}}</a></div>
    16  				<div class="formitem"><input name="confirm_password"type="password"placeholder="*****"autocomplete="new-password"aria-labelledby="confirm_password_label"required></div>
    17  			</div>
    18  			{{if .MFA}}
    19  			<div class="formrow mfa_token_row">
    20  				<div class="formitem formlabel"><a id="mfa_token_label">{{lang "password_reset_mfa_token"}}</a></div>
    21  				<div class="formitem"><input name="mfa_token"type="text"autocomplete="off"placeholder="*****"aria-labelledby="mfa_token_label"required></div>
    22  			</div>
    23  			{{end}}
    24  			<div class="formrow login_button_row form_button_row">
    25  				<div class="formitem"><button name="token-button"class="formbutton">{{lang "password_reset_token_button"}}</button></div>
    26  			</div>
    27  		</form>
    28  	</div>
    29  </main>
    30  {{template "footer.html" . }}