diff options
Diffstat (limited to 'modules/auth')
-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 a0b479ea..6fb8ef91 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"` } |