blob: 26859eb05035347bb0eda4f3de8c0e8ffee1ab02 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
@args (String message)
@layout.template("Index", RockerContent.NONE, RockerContent.NONE) -> {
<div class="flex">
<div>
<h1>Add new user</h1>
<form action="/user/add" method="post">
<label for="username">Username:</label>
<input autocomplete="off" autofocus id="username" name="username" required type="text"/>
<button type="submit">Generate</button>
</form>
</div>
<div>
@if (message.length() > 0) {
<small>@message</small>
}
</div>
</div>
}
|