Last active
August 3, 2017 15:39
-
-
Save olegpolyakov/64825808999e1bdd573ad3f10ea1d685 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
form#login-form(method='post') | |
input(type='hidden' name='_csrf' value=_csrfToken) | |
+input('text', 'username', 'Имя пользователя', null, 'Только маленькие латинские буквы и цифры без пробелов')(minlength='2' maxlength='32' pattern='^[a-z0-9]+$') | |
+input('password', 'password', 'Пароль')(required maxlength='128') | |
button#submit(type='submit').mdc-button.mdc-button--accent.mdc-button--raised.mdc-button--full-width Войти | |
a(href='/auth/reset-password').mdc-button Забыли пароль? | |
a(href='/auth/register').mdc-button Зарегистрироваться |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment