2016-03-29 12:31:59 +02:00
|
|
|
<div class='content-wrapper' id='login'>
|
2016-03-28 00:19:44 +02:00
|
|
|
<h1>Log in</h1>
|
|
|
|
<form>
|
2016-12-22 23:37:30 +01:00
|
|
|
<ul class='input'>
|
|
|
|
<li>
|
|
|
|
<%= ctx.makeTextInput({
|
|
|
|
text: 'User name',
|
|
|
|
name: 'name',
|
|
|
|
required: true,
|
|
|
|
pattern: ctx.userNamePattern,
|
|
|
|
}) %>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<%= ctx.makePasswordInput({
|
|
|
|
text: 'Password',
|
|
|
|
name: 'password',
|
|
|
|
required: true,
|
|
|
|
pattern: ctx.passwordPattern,
|
|
|
|
}) %>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<%= ctx.makeCheckbox({
|
|
|
|
text: 'Remember me',
|
|
|
|
name: 'remember-user',
|
|
|
|
}) %>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
2016-04-10 00:24:14 +02:00
|
|
|
<div class='messages'></div>
|
2016-12-22 23:37:30 +01:00
|
|
|
|
2016-04-10 00:24:14 +02:00
|
|
|
<div class='buttons'>
|
2016-03-28 00:19:44 +02:00
|
|
|
<input type='submit' value='Log in'/>
|
2017-02-17 23:08:37 +01:00
|
|
|
<a class='append' href='<%- ctx.formatClientLink('password-reset') %>'>Forgot the password?</a>
|
2016-04-10 00:24:14 +02:00
|
|
|
</div>
|
2016-03-28 00:19:44 +02:00
|
|
|
</form>
|
|
|
|
</div>
|