Add locales to login
This commit is contained in:
parent
13f2d6558f
commit
36d9da7c7c
2 changed files with 10 additions and 4 deletions
|
@ -28,5 +28,11 @@
|
|||
"sandwich": "Sandwich",
|
||||
"day": "Day",
|
||||
"pay": "Pay"
|
||||
},
|
||||
"login": {
|
||||
"title": "Login",
|
||||
"username": "Username",
|
||||
"password": "Password",
|
||||
"submit": "Login"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,12 +2,12 @@ extends layout
|
|||
|
||||
block content
|
||||
form.card(action="/login" method="POST")
|
||||
h1 Login
|
||||
h1=__("login.title")
|
||||
div.field
|
||||
label(for="username") Username:
|
||||
label(for="username")=__("login.username")+":"
|
||||
input#username(type="text" name="username" required)
|
||||
div.field
|
||||
label(for="password") Password:
|
||||
label(for="password")=__("login.password")+":"
|
||||
input#password(type="password" name="password" required)
|
||||
div.field
|
||||
input(type="submit" value="Login")
|
||||
input(type="submit" value=__("login.submit"))
|
||||
|
|
Reference in a new issue