{{ define "title" -}} {{printf (pgettext "Edit Product “%s”" "title") .Name }} {{- end }} {{ define "content" }} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.productForm*/ -}} {{( pgettext "Home" "title" )}} / {{( pgettext "Products" "title" )}} / {{ .Name }} {{printf (pgettext "Edit Product “%s”" "title") .Name }} {{ csrfToken }} {{ putMethod }} {{ template "input-field" .Name | addInputAttr "autofocus" }} {{ template "input-field" .Description }} {{ template "input-field" .Price }} {{ template "select-field" .Tax }} {{ with .Tax }} × {{ .Label }} {{- if .Errors }} {{- range $error := .Errors }} {{ . }} {{- end }} {{- end }} {{ end }} {{( pgettext "Update product" "action" )}} {{- end }}
{{( pgettext "Home" "title" )}} / {{( pgettext "Products" "title" )}} / {{ .Name }}