summaryrefslogtreecommitdiff
path: root/Biz/PodcastItLater
diff options
context:
space:
mode:
Diffstat (limited to 'Biz/PodcastItLater')
-rw-r--r--Biz/PodcastItLater/Web.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/Biz/PodcastItLater/Web.py b/Biz/PodcastItLater/Web.py
index 3a76e93..525976c 100644
--- a/Biz/PodcastItLater/Web.py
+++ b/Biz/PodcastItLater/Web.py
@@ -194,7 +194,10 @@ class LoginForm(Component[AnyChildren, LoginFormAttrs]):
html.i(classes=["bi", "bi-info-circle", "me-2"]),
html.strong("Dev/Test Mode: "),
"Use ",
- html.code("demo@example.com", classes=["text-dark"]),
+ html.code(
+ "demo@example.com",
+ classes=["text-dark", "mx-1"],
+ ),
" for instant login",
classes=[
"alert",
@@ -226,6 +229,7 @@ class LoginForm(Component[AnyChildren, LoginFormAttrs]):
id="email",
name="email",
placeholder="your@email.com",
+ value="demo@example.com" if is_dev_mode else "",
required=True,
classes=["form-control", "mb-3"],
),