Display error messages on form

two new strings need translating in lang/form.
This commit is contained in:
Harvey Tindall
2021-01-25 18:01:18 +00:00
parent 061945218a
commit 8af1c13d7e
9 changed files with 42 additions and 12 deletions
+1
View File
@@ -96,6 +96,7 @@ func (app *appContext) InviteProxy(gc *gin.Context) {
"username": !app.config.Section("email").Key("no_username").MustBool(false),
"strings": app.storage.lang.Form[lang].Strings,
"validationStrings": app.storage.lang.Form[lang].validationStringsJSON,
"notifications": app.storage.lang.Form[lang].notificationsJSON,
"code": code,
})
} else {