aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2025-01-14 18:24:50 -0500
committerXe Iaso <me@xeiaso.net>2025-01-14 18:24:50 -0500
commit47b90b9c9715fe84c5ed806e504115a0d972b3fe (patch)
tree6314d4b1cdbab0393b664012d2e60533d187550c /cmd
parent2fbc950b7da60087930c8ec3cd667ef70c889f2c (diff)
downloadx-47b90b9c9715fe84c5ed806e504115a0d972b3fe.tar.xz
x-47b90b9c9715fe84c5ed806e504115a0d972b3fe.zip
cmd/nomadicdemo: fix
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/nomadicdemo/main.templ2
-rw-r--r--cmd/nomadicdemo/main_templ.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/nomadicdemo/main.templ b/cmd/nomadicdemo/main.templ
index 52e6a8b..f7643a5 100644
--- a/cmd/nomadicdemo/main.templ
+++ b/cmd/nomadicdemo/main.templ
@@ -8,7 +8,7 @@ templ index(prompt, negPrompt, imageURL string, howLong time.Duration) {
padding: 0.5rem;
width: 100%;
}
-</style>
+ </style>
<form>
<input class="big-input" id="prompt" name="prompt" type="text" value={ prompt }/>
<br/>
diff --git a/cmd/nomadicdemo/main_templ.go b/cmd/nomadicdemo/main_templ.go
index 922def4..60d8d9a 100644
--- a/cmd/nomadicdemo/main_templ.go
+++ b/cmd/nomadicdemo/main_templ.go
@@ -31,7 +31,7 @@ func index(prompt, negPrompt, imageURL string, howLong time.Duration) templ.Comp
templ_7745c5c3_Var1 = templ.NopComponent
}
ctx = templ.ClearChildren(ctx)
- templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "<style>\n\t.big-input {\n \tpadding: 0.5rem;\n \twidth: 100%;\n\t}\n</style><form><input class=\"big-input\" id=\"prompt\" name=\"prompt\" type=\"text\" value=\"")
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "<style>\n\t.big-input {\n \tpadding: 0.5rem;\n \twidth: 100%;\n\t}\n\t</style><form><input class=\"big-input\" id=\"prompt\" name=\"prompt\" type=\"text\" value=\"")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}