diff options
author | Unknwon <u@gogs.io> | 2015-07-24 23:13:42 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-07-24 23:13:42 +0800 |
commit | dc4aab9925b46f8ad4b18f7926e2904163c1c5b5 (patch) | |
tree | 77bb65a5407f7daddf2166054d0abf757dc32715 /modules/auth/repo_form.go | |
parent | 3426ae42b3eadd5acd43e20470a8f1dd45bb55b0 (diff) | |
download | gitea-dc4aab9925b46f8ad4b18f7926e2904163c1c5b5.tar.gz gitea-dc4aab9925b46f8ad4b18f7926e2904163c1c5b5.zip |
UI: CURD labels
- fix update lable break connection with repository
Diffstat (limited to 'modules/auth/repo_form.go')
-rw-r--r-- | modules/auth/repo_form.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/auth/repo_form.go b/modules/auth/repo_form.go index a0b479eaaf..6fb8ef9190 100644 --- a/modules/auth/repo_form.go +++ b/modules/auth/repo_form.go @@ -134,6 +134,7 @@ func (f *CreateMilestoneForm) Validate(ctx *macaron.Context, errs binding.Errors // \/ \/ \/ \/ type CreateLabelForm struct { + ID int64 Title string `binding:"Required;MaxSize(50)" locale:"repo.issues.label_name"` Color string `binding:"Required;Size(7)" locale:"repo.issues.label_color"` } |