aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/settings_account.tpl
blob: c6d3d7bcc8d5d8313efc8be262e52bd28f00e63f (plain) (blame)
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
<div class="generic-content-wrapper">
	<div class="section-title-wrapper">
		<a title="{{$removeaccount}}" class="btn btn-danger btn-sm float-end" href="removeaccount"><i class="bi bi-trash"></i>&nbsp;{{$removeme}}</a>
		<h2>{{$title}}</h2>
		<div class="clear"></div>
	</div>
	<form action="settings/account" id="settings-account-form" method="post" autocomplete="off" >
		<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
		<div class="section-content-tools-wrapper">
			{{include file="field_input.tpl" field=$email}}
			{{if $email_hidden}}
			<input type='hidden' name='email' value='{{$email_hidden}}'>
			{{/if}}
			{{include file="field_password.tpl" field=$origpass}}
			{{include file="field_password.tpl" field=$password1}}
			{{include file="field_password.tpl" field=$password2}}

			<div class="settings-submit-wrapper" >
				<button type="submit" name="submit" class="btn btn-primary">{{$submit}}</button>
				<a href="/settings/multifactor" class="btn btn-outline-success">{{$mfa}}</a>
			</div>
			{{$account_settings}}
		</div>
	</form>
</div>