diff options
author | Unknwon <u@gogs.io> | 2015-08-05 15:24:26 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-08-05 15:24:26 +0800 |
commit | 3e4cdccf6bfe1904c97204b65c3143414a3c725d (patch) | |
tree | 72df1740ed28e2fbd01557fa14665842fab6423d /modules/auth | |
parent | ce4dcf1e83d19ac0eb54ff059a52fca7c94308f8 (diff) | |
download | gitea-3e4cdccf6bfe1904c97204b65c3143414a3c725d.tar.gz gitea-3e4cdccf6bfe1904c97204b65c3143414a3c725d.zip |
milestone: create page
Diffstat (limited to 'modules/auth')
-rw-r--r-- | modules/auth/repo_form.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/auth/repo_form.go b/modules/auth/repo_form.go index 6fb8ef9190..9863902173 100644 --- a/modules/auth/repo_form.go +++ b/modules/auth/repo_form.go @@ -117,9 +117,9 @@ func (f *CreateIssueForm) Validate(ctx *macaron.Context, errs binding.Errors) bi // \/ \/ \/ \/ \/ type CreateMilestoneForm struct { - Title string `form:"title" binding:"Required;MaxSize(50)"` - Content string `form:"content"` - Deadline string `form:"due_date"` + Title string `binding:"Required;MaxSize(50)"` + Content string + Deadline string } func (f *CreateMilestoneForm) Validate(ctx *macaron.Context, errs binding.Errors) binding.Errors { |