summaryrefslogtreecommitdiff
path: root/templates/remind_password.tpl
blob: 8f0283c22095546abe8c5b1370a13a9e81a074fa (plain)
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
27
28
29
{strip}

<div class="display login">
	<div class="header">
		<h1>{tr}Forgot Password{/tr}</h1>
	</div>

	<div class="body">
		{formfeedback hash=$msg}
		{if $msg.success}
			<p>{tr}Please follow the instructions in the email.{/tr}</p>
			<a href="{$smarty.const.USERS_PKG_URL}signin.php" class="btn btn-default">{tr}Sign In{/tr}</a>
		{else}
			{form legend="Reset my password"}
				<div class="form-group">
					{formlabel label="Username or email" for="username"}
					{forminput}
						<input type="text" name="username" id="username" value="{$smarty.request.username}" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" class="form-control"/>
					{/forminput}
				</div>

				<div class="form-group submit">
					<input type="submit" class="btn btn-default" name="remind" id="remind" value="{tr}Send Reset Instructions{/tr}" />
				</div>
			{/form}
		{/if}
	</div><!-- end .body -->
</div><!-- end .login -->
{/strip}