Finish new web hook pages

This commit is contained in:
Unknwon committed 2014-08-09 15:40:10 -07:00
1 parent 9820b8e134
commit 9a1d5d2489
23 files changed
+249 -265

No files matched your search

+1 -1
View File
@@ -69,7 +69,7 @@ func (f *RepoSettingForm) Validate(ctx *macaron.Context, errs *binding.Errors, l
// \/ \/ \/ \/ \/ \/
type NewWebhookForm struct {
Url string `form:"url" binding:"Required;Url"`
PayloadUrl string `form:"payload_url" binding:"Required;Url"`
ContentType string `form:"content_type" binding:"Required"`
Secret string `form:"secret"`
PushOnly bool `form:"push_only"`