{{ define "title" -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.PaymentAccountForm*/ -}} {{ printf ( pgettext "Edit Payment Account ā€œ%sā€" "title" ) .Name }} {{- end }} {{ define "breadcrumbs" -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.PaymentAccountForm*/ -}} {{- end }} {{ define "content" }} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.PaymentAccountForm*/ -}}

{{ template "title" . }}

{{ csrfToken }} {{ putMethod }} {{ template "input-field" .Name }} {{ if eq .Type.Selected "bank" }} {{ template "input-field" .IBAN }} {{ else if eq .Type.Selected "card" }} {{ template "input-field" .LastFourDigits }} {{ template "input-field" .ExpirationMonthYear }} {{ end }}
{{- end }}