aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/views/login.rocker.html
blob: 66d9ba2a30f37602cff25e08d90df0fcf6e729d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@args (String message)


@layout.template("Login", RockerContent.NONE, RockerContent.NONE) -> {
<form action="login" id="login-form" method="post">
    <div>
        <label for="username">Username:</label>
        <input id="username" name="username" type="text"/>

        <label for="password">Password:</label>
        <input id="password" name="password" type="password"/>
    </div>

    <button type="submit">Login</button>

    @if(message.length() > 0) {
    <small>@message</small>
    }
</form>
}