summaryrefslogtreecommitdiff
path: root/templates/remind_password.tpl
blob: c48d226f95ec4067006a6e0040e184f958ae1f2e (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">
		{if !empty($msg)}{formfeedback hash=$msg}{/if}
		{if $msg.success|default:false}
			<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|default:''}" 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}