diff options
author | Unknwon <u@gogs.io> | 2015-11-27 01:50:38 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-11-27 01:50:38 -0500 |
commit | e42fcb033d4a7ee44fe397be3e933d7031b7d8f7 (patch) | |
tree | a203fff39c92f947c4585a746e2345b3ebc67b3c /modules/auth | |
parent | 392f3ee21016476fb9794f78882d6c447acb8449 (diff) | |
download | gitea-e42fcb033d4a7ee44fe397be3e933d7031b7d8f7.tar.gz gitea-e42fcb033d4a7ee44fe397be3e933d7031b7d8f7.zip |
wiki: finish edit
Diffstat (limited to 'modules/auth')
-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. |