From cce768dad86be8111a6a8cdbd7404d7afc4ee712 Mon Sep 17 00:00:00 2001 From: James Tombleson Date: Sat, 13 Jul 2024 10:36:15 -0700 Subject: [PATCH] split TextInput to have an option for color as its own func --- components/bulma/form/input.templ | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/components/bulma/form/input.templ b/components/bulma/form/input.templ index d793c66..12a45bc 100644 --- a/components/bulma/form/input.templ +++ b/components/bulma/form/input.templ @@ -1,6 +1,10 @@ package form -templ TextInput(color, id, fieldType, placeholder string) { +templ TextInput(id, fieldType, placeholder string) { + +} + +templ TextInputColor(color, id, fieldType, placeholder string) { if color == "" { } else {