From dc4aab9925b46f8ad4b18f7926e2904163c1c5b5 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Fri, 24 Jul 2015 23:13:42 +0800 Subject: UI: CURD labels - fix update lable break connection with repository --- modules/auth/repo_form.go | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/auth/repo_form.go') 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"` } -- cgit v1.2.3