aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/views/register.rocker.html
diff options
context:
space:
mode:
authorMarvin Borner2019-05-13 18:18:57 +0200
committerMarvin Borner2019-05-13 18:18:57 +0200
commitb9a392f5f1db5c7de60e929fdcc0ca42885f81ca (patch)
tree0f9aa014bcabfc3d7205898ada71f15d4490cb0a /src/main/resources/views/register.rocker.html
parent72073df2c225f96889620e30c963dd807ca01a90 (diff)
Added user based dark theme support
Co-authored-by: LarsVomMars <lars@kroenner.eu>
Diffstat (limited to 'src/main/resources/views/register.rocker.html')
-rw-r--r--src/main/resources/views/register.rocker.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/resources/views/register.rocker.html b/src/main/resources/views/register.rocker.html
index b86c2e0..8516561 100644
--- a/src/main/resources/views/register.rocker.html
+++ b/src/main/resources/views/register.rocker.html
@@ -1,6 +1,7 @@
-@args (String username, String token, String message)
+@import io.javalin.*
+@args (String username, String token, String message, Context ctx)
-@layout.template("Register", RockerContent.NONE, RockerContent.NONE) -> {
+@layout.template("Register", ctx, RockerContent.NONE, RockerContent.NONE) -> {
<div class="flex">
<h1>Register</h1>