{{ define "title" -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.TaxesPage*/ -}} {{( pgettext "Taxes" "title" )}} {{- end }} {{ define "breadcrumbs" -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.TaxesPage*/ -}} {{( pgettext "Home" "title" )}} / {{ template "title" . }} {{- end }} {{ define "content" }} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.TaxesPage*/ -}} {{ template "title" . }} {{( pgettext "Tax Name" "title" )}} {{( pgettext "Rate (%)" "title" )}} {{( pgettext "Class" "title" )}} {{ $confirm := ( gettext "Are you sure?" )}} {{ with .Taxes }} {{- range $tax := . }} {{ .Name }} {{ .Rate }} {{ .Class }} {{ csrfToken }} {{ deleteMethod }} {{- end }} {{ else }} {{( gettext "No taxes added yet." )}} {{ end }} {{( pgettext "New Tax" "title")}} {{ csrfToken }} {{ with .Form -}} {{ template "input-field" .Name }} {{ template "input-field" .Rate }} {{ template "select-field" .Class }} {{- end }} {{- end }}
{{( pgettext "Home" "title" )}} / {{ template "title" . }}