aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/views/setup.rocker.html
blob: f9c83571796239ad12680cc1202bb7ac4df777d8 (plain) (blame)
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
@args (String message)

@layout.template("Setup", RockerContent.NONE, RockerContent.NONE) -> {
<form action="/setup" method="post">
    <div>
        <label for="username">Username:</label>
        <input id="username" name="username" required type="text"/>
    </div>
    <div>
        <label for="password">Password:</label>
        <input id="password" name="password" required type="password"/>
    </div>
    <div>
        <label for="verifyPassword">Verify password:</label>
        <input id="verifyPassword" name="verifyPassword" required type="password"/>
    </div>
    <div>
        <button type="submit">Setup</button>
    </div>
</form>

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