summaryrefslogtreecommitdiffstats
path: root/modules/auth
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-11-27 01:50:38 -0500
committerUnknwon <u@gogs.io>2015-11-27 01:50:38 -0500
commite42fcb033d4a7ee44fe397be3e933d7031b7d8f7 (patch)
treea203fff39c92f947c4585a746e2345b3ebc67b3c /modules/auth
parent392f3ee21016476fb9794f78882d6c447acb8449 (diff)
downloadgitea-e42fcb033d4a7ee44fe397be3e933d7031b7d8f7.tar.gz
gitea-e42fcb033d4a7ee44fe397be3e933d7031b7d8f7.zip
wiki: finish edit
Diffstat (limited to 'modules/auth')
-rw-r--r--modules/auth/repo_form.go7
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.