diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/auth/repo_form.go | 7 |
1 files changed, 3 insertions, 4 deletions
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 |