{{ define "title" -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.TaxesPage*/ -}} {{( pgettext "Taxes" "title" )}} {{- end }} {{ define "breadcrumbs" -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.TaxesPage*/ -}} {{- end }} {{ define "content" }} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.TaxesPage*/ -}}

{{ template "title" . }}

{{ $confirm := ( gettext "Are you sure?" )}} {{ with .Taxes }} {{- range $tax := . }} {{- end }} {{ else }} {{ end }}
{{( pgettext "Tax Name" "title" )}} {{( pgettext "Rate (%)" "title" )}} {{( pgettext "Class" "title" )}}
{{ .Name }} {{ .Rate }} {{ .Class }}
{{ csrfToken }} {{ deleteMethod }}
{{( gettext "No taxes added yet." )}}

{{( pgettext "New Tax" "title")}}

{{ csrfToken }} {{ with .Form -}} {{ template "input-field" .Name }} {{ template "input-field" .Rate }} {{ template "select-field" .Class }} {{- end }}
{{- end }}