Merge pull request #2517 from fnkr/issue-2516

Allow modification of a release if Content is empty (fix #2516)
release/v1.15
Unknwon 2016-01-30 09:47:37 -05:00
commit 055c1ea02d
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ func (f *NewReleaseForm) Validate(ctx *macaron.Context, errs binding.Errors) bin
type EditReleaseForm struct { type EditReleaseForm struct {
Title string `form:"title" binding:"Required"` Title string `form:"title" binding:"Required"`
Content string `form:"content" binding:"Required"` Content string `form:"content"`
Draft string `form:"draft"` Draft string `form:"draft"`
Prerelease bool `form:"prerelease"` Prerelease bool `form:"prerelease"`
} }