{{ define "title" -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.PaymentForm*/ -}} {{- if eq .Type.Value "P" -}} {{ printf ( pgettext "Edit Payment ā€œ%sā€" "title" ) .Description }} {{- else -}} {{ printf ( pgettext "Edit Collection ā€œ%sā€" "title" ) .Description }} {{- end -}} {{- end }} {{ define "breadcrumbs" -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.PaymentForm*/ -}} {{- end }} {{ define "content" }} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.PaymentForm*/ -}}

{{ template "title" . }}

{{ csrfToken }} {{ putMethod }} {{ template "hidden-select-field" .Type }} {{ template "select-field" .PaymentAccount }} {{ template "input-field" .Description }} {{ template "input-field" .PaymentDate }} {{ template "input-field" .Amount }} {{ template "tags-field" .Tags }} {{ template "file-field" .File }}
{{- end }}