Core

/views/components/fieldedit/String.html (208 B)

1
2
3
4
5
6
7
8
9
{% import (
"fmt"

"{{{ .Package }}}/views/components"
) %}

{% func String(x any, k string) %}{% stripspace %}
{%= components.FormInput(k, "", fmt.Sprintf("%v", x)) %}
{% endstripspace %}{% endfunc %}