Added proper support for font size and color
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / templates / lostPassword.tpl
CommitLineData
320f4a6d
MW
1{include file='header'}
2
320f4a6d
MW
3<p class="info">{lang}wcf.user.lostPassword.description{/lang}</p>
4
ee629b22 5{include file='formError'}
320f4a6d 6
320f4a6d 7<form method="post" action="{link controller='LostPassword'}{/link}">
95961bdf
MW
8 <div class="section">
9 <dl id="usernameDiv"{if $errorField == 'username'} class="formError"{/if}>
10 <dt>
11 <label for="usernameInput">{lang}wcf.user.username{/lang}</label>
12 </dt>
13 <dd>
14 <input type="text" id="usernameInput" name="username" value="{$username}" class="medium" />
15 {if $errorField == 'username'}
16 <small class="innerError">
17 {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if}
18 {if $errorType == 'notFound'}{lang}wcf.user.username.error.notFound{/lang}{/if}
19 {if $errorType == '3rdParty'}{lang}wcf.user.username.error.3rdParty{/lang}{/if}
20 </small>
21 {/if}
22 </dd>
23 </dl>
320f4a6d 24
95961bdf
MW
25 <dl id="emailDiv"{if $errorField == 'email'} class="formError"{/if}>
26 <dt>
27 <label for="emailInput">{lang}wcf.user.email{/lang}</label>
28 </dt>
29 <dd>
30 <input type="email" id="emailInput" name="email" value="{$email}" class="medium" />
31 {if $errorField == 'email'}
32 <small class="innerError">
33 {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if}
34 {if $errorType == 'notFound'}{lang}wcf.user.lostPassword.email.error.notFound{/lang}{/if}
35 </small>
36 {/if}
37 </dd>
38 </dl>
320f4a6d 39
95961bdf 40 {event name='fields'}
320f4a6d 41 </div>
96714cab 42
95961bdf
MW
43 {event name='sections'}
44
45 {include file='captcha'}
46
320f4a6d
MW
47 <div class="formSubmit">
48 <input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s" />
ee629b22 49 {@SECURITY_TOKEN_INPUT_TAG}
320f4a6d
MW
50 </div>
51</form>
52
3e93caf9
MW
53<script data-relocate="true">
54 //<![CDATA[
55 $(function() {
56 new WCF.User.Registration.LostPassword();
57 });
58 //]]>
59</script>
320f4a6d 60
3e93caf9 61{include file='footer'}