{{ define "hidden-field" -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.InputField*/ -}} {{- end }} {{ define "input-field" -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.InputField*/ -}}
{{ if eq .Type "textarea" }} {{ else }} {{ end }} {{- if .Errors }} {{- end }}
{{- end }} {{ define "file-field" -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.FileField*/ -}}
{{- if .Errors }} {{- end }}
{{- end }} {{ define "tags-field" -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.InputField*/ -}}
{{- if .Errors }} {{- end }}
{{- end }} {{ define "hidden-select-field" -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.SelectField*/ -}} {{- range $selected := .Selected }} {{- end }} {{- end }} {{ define "select-field" -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.SelectField*/ -}}
{{- if .Errors }} {{- end }}
{{- end }} {{ define "toggle-field" -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.ToggleField*/ -}}
{{ .Label }}
{{- end }} {{ define "radio-field" -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.RadioField*/ -}}
{{ .Label }} {{- range $option := .Options }} {{- end }} {{- if .Errors }} {{- end }}
{{- end }} {{ define "check-field" -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.CheckField*/ -}} {{- end }} {{ define "invoice-product-form" -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.invoiceProductForm*/ -}}
{{ template "hidden-field" .InvoiceProductId }} {{ template "hidden-field" .ProductId }} {{ template "input-field" .Name }} {{ template "input-field" .Price }} {{ template "input-field" .Quantity }} {{ template "input-field" .Discount }} {{ template "select-field" .Tax }} {{ template "input-field" .Description | addInputAttr `rows="2"`}}
{{- end }} {{ define "quote-product-form" -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.quoteProductForm*/ -}}
{{ template "hidden-field" .QuoteProductId }} {{ template "hidden-field" .ProductId }} {{ template "input-field" .Name }} {{ template "input-field" .Price }} {{ template "input-field" .Quantity }} {{ template "input-field" .Discount }} {{ template "select-field" .Tax }} {{ template "input-field" .Description | addInputAttr `rows="2"`}}
{{- end }} {{ define "filters-toggle" -}} {{- end }}