diff --git a/router/templateVariables.go b/router/templateVariables.go index 3090d942..d9b3d4df 100644 --- a/router/templateVariables.go +++ b/router/templateVariables.go @@ -151,8 +151,8 @@ type PanelTorrentEdVbs struct { Upload UploadForm Search SearchForm User *model.User - FormInfos map[string][]string FormErrors map[string][]string + FormInfos map[string][]string URL *url.URL // For parsing Url in templates } diff --git a/templates/admin/paneltorrentedit.html b/templates/admin/paneltorrentedit.html index e4a38ee8..b571e3d8 100644 --- a/templates/admin/paneltorrentedit.html +++ b/templates/admin/paneltorrentedit.html @@ -46,7 +46,7 @@
-