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

     1  {{template "header.html" . }}
     2  <div id="account_edit_password" class="colstack account">
     3  	{{template "account_menu.html" .}}
     4  	<main class="colstack_right">
     5  		<div class="colstack_item colstack_head rowhead">
     6  			<div class="rowitem"><h1>{{lang "account_password_head"}}</h1></div>
     7  		</div>
     8  		<div class="colstack_item the_form">
     9  			<form action="/user/edit/password/submit/?s={{.CurrentUser.Session}}" method="post">
    10  				<div class="formrow real_first_child">
    11  					<div class="formitem formlabel"><a>{{lang "account_password_current_password"}}</a></div>
    12  					<div class="formitem"><input name="current-password" type="password" placeholder="*****" autocomplete="current-password" required></div>
    13  				</div>
    14  				<div class="formrow">
    15  					<div class="formitem formlabel"><a>{{lang "account_password_new_password"}}</a></div>
    16  					<div class="formitem"><input name="new-password" type="password" placeholder="*****" autocomplete="new-password" required></div>
    17  				</div>
    18  				<div class="formrow">
    19  					<div class="formitem formlabel"><a>{{lang "account_password_confirm_password"}}</a></div>
    20  					<div class="formitem"><input name="confirm-password" type="password" placeholder="*****" autocomplete="new-password" required></div>
    21  				</div>
    22  				<div class="formrow">
    23  					<div class="formitem"><button name="account-button" class="formbutton form_middle_button">{{lang "account_password_update_button"}}</button></div>
    24  				</div>
    25  			</form>
    26  		</div>
    27  	</main>
    28  </div>
    29  {{template "footer.html" . }}