fix(theme/bootstrap5): fix button class

This commit is contained in:
Simon Vieille 2025-07-29 10:33:49 +02:00
commit 859e229a33
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -51,6 +51,8 @@ var Bootstrap5 = ExtendTheme(Html5, func() map[string]RenderFunc {
class = "form-check-input"
} else if fieldType == "range" {
class = "form-range"
} else if fieldType == "button" || fieldType == "submit" || fieldType == "reset" {
class = "btn"
} else {
class = "form-control"
}