updating web to be compatible with main

This commit is contained in:
viljarb
2026-02-18 20:33:32 +01:00
parent b654fb5bd3
commit ed8a0d02ec
25 changed files with 3800 additions and 793 deletions

View File

@@ -6,6 +6,7 @@ type InputProps struct {
Label string
Type string // defaults to "text"
Value string
Class string
Placeholder string
Description string
Error string
@@ -37,7 +38,7 @@ templ Input(props InputProps) {
<label
for={ props.Name }
class={
"input validator tooltip tooltip-top",
"input validator tooltip tooltip-top", props.Class,
templ.KV("tooltip tooltip-top", props.DisabledMessage != ""),
templ.KV("input-xs", props.Size == "xs"),
templ.KV("input-sm", props.Size == "sm"),