package components import "fmt" //EditableFieldText() gives an Input field to write text into templ EditableFieldText(target string, label string, content string) {
} //EditableFieldInt() gives an Input field to write text into templ EditableFieldInt(target string, label string, content int) {
save
} //EditableField() is a generic component to make a single field editable templ EditableField(target string, label string, content any) {
{ fmt.Sprint(content) } edit
}