diff options
Diffstat (limited to 'modules/auth/repo_form.go')
-rw-r--r-- | modules/auth/repo_form.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/auth/repo_form.go b/modules/auth/repo_form.go index 1ba81076fc..3c5e4ee593 100644 --- a/modules/auth/repo_form.go +++ b/modules/auth/repo_form.go @@ -246,9 +246,10 @@ func (f *EditReleaseForm) Validate(ctx *macaron.Context, errs binding.Errors) bi // \/ \/ type NewWikiForm struct { - Title string `binding:"Required"` - Content string `binding:"Required"` - Message string + OldTitle string + Title string `binding:"Required"` + Content string `binding:"Required"` + Message string } // FIXME: use code generation to generate this method. |