diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-12-10 16:37:54 -0500 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-12-10 16:37:54 -0500 |
commit | bc8721fb6c704255fd8be9edc9372e4d17adaee9 (patch) | |
tree | 1bc335b23b84432799440bb7572942410ce00b33 /modules | |
parent | 01ba7717838c01c719cca34d3fe446c547c9ada4 (diff) | |
download | gitea-bc8721fb6c704255fd8be9edc9372e4d17adaee9.tar.gz gitea-bc8721fb6c704255fd8be9edc9372e4d17adaee9.zip |
Finish new UI for release page
Diffstat (limited to 'modules')
-rw-r--r-- | modules/auth/apiv1/miscellaneous.go | 2 | ||||
-rw-r--r-- | modules/auth/repo_form.go | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/modules/auth/apiv1/miscellaneous.go b/modules/auth/apiv1/miscellaneous.go index 71f9541a9c..d470ff0e45 100644 --- a/modules/auth/apiv1/miscellaneous.go +++ b/modules/auth/apiv1/miscellaneous.go @@ -14,7 +14,7 @@ import ( ) type MarkdownForm struct { - Text string `form:"text" binding:"Required"` + Text string `form:"text"` Mode string `form:"mode"` Context string `form:"context"` } diff --git a/modules/auth/repo_form.go b/modules/auth/repo_form.go index 7901ce8777..41c0217a93 100644 --- a/modules/auth/repo_form.go +++ b/modules/auth/repo_form.go @@ -164,7 +164,6 @@ func (f *NewReleaseForm) Validate(ctx *macaron.Context, errs binding.Errors) bin } type EditReleaseForm struct { - Target string `form:"tag_target" binding:"Required"` Title string `form:"title" binding:"Required"` Content string `form:"content" binding:"Required"` Draft string `form:"draft"` |