diff --git a/web/template/expenses/edit.gohtml b/web/template/expenses/edit.gohtml index bfea8af..51a1084 100644 --- a/web/template/expenses/edit.gohtml +++ b/web/template/expenses/edit.gohtml @@ -1,6 +1,6 @@ {{ define "title" -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.editExpensePage*/ -}} - {{ printf ( pgettext "Edit Expense “%s”" "title" ) .Slug }} + {{ printf ( pgettext "Edit Expense “%s”" "title" ) (or .Form.InvoiceNumber.Value .Slug) }} {{- end }} {{ define "breadcrumbs" -}} @@ -9,7 +9,7 @@
{{( pgettext "Home" "title" )}} / {{( pgettext "Expenses" "title" )}} / - {{ .Slug }} + {{ or .Form.InvoiceNumber.Value .Slug }}
{{- end }} @@ -17,7 +17,7 @@ {{ define "content" }} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.editExpensePage*/ -}}