Markdown lists in comments inherited some unwanted CSS rules. The fix is to make the culprit rules apply to more specific elements.
38 lines
1.1 KiB
Smarty
38 lines
1.1 KiB
Smarty
<div class='content-wrapper' id='login'>
|
|
<h1>Log in</h1>
|
|
<form>
|
|
<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>
|
|
|
|
<div class='messages'></div>
|
|
|
|
<div class='buttons'>
|
|
<input type='submit' value='Log in'/>
|
|
<% if (ctx.canSendMails) { %>
|
|
<a class='append' href='/password-reset'>Forgot the password?</a>
|
|
<% } %>
|
|
</div>
|
|
</form>
|
|
</div>
|