diff --git a/modules/auth/repo_form.go b/modules/auth/repo_form.go index bb917a9114..f066fc630f 100644 --- a/modules/auth/repo_form.go +++ b/modules/auth/repo_form.go @@ -362,10 +362,9 @@ func (f *EditReleaseForm) Validate(ctx *macaron.Context, errs binding.Errors) bi // NewWikiForm form for creating wiki type NewWikiForm struct { - OldTitle string - Title string `binding:"Required"` - Content string `binding:"Required"` - Message string + Title string `binding:"Required"` + Content string `binding:"Required"` + Message string } // Validate validates the fields diff --git a/templates/repo/wiki/new.tmpl b/templates/repo/wiki/new.tmpl index cb928b2830..302e5210ec 100644 --- a/templates/repo/wiki/new.tmpl +++ b/templates/repo/wiki/new.tmpl @@ -13,12 +13,11 @@