blob: 5e4d8e5c9a4a6b382b528e1c9913e23a99a82522 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
@(loginForm: Form[LoginData])(implicit flash: Flash, token: play.filters.csrf.CSRF.Token)
@templates.ebe("Log in")() {
<div class="pure-g">
<div class="pure-u-1 pure-u-lg-1-3 centered">
<h2>Log in</h2>
@views.html.fragments.forms.globalErrors(loginForm)
@helper.form(action = routes.Auth.loginSubmit(), 'class -> "pure-form") {
@helper.CSRF.formField
<fieldset class="pure-group">
@views.html.fragments.forms.inputField(loginForm("username"), "text", "Username")
@views.html.fragments.forms.inputField(loginForm("password"), "password", "Password")
</fieldset>
<button type="submit" class="pure-button pure-input-1 pure-button-primary">Log in</button>
}
</div>
</div>
}
|