diff options
author | Unknwon <u@gogs.io> | 2015-07-24 21:02:49 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-07-24 21:02:49 +0800 |
commit | ac95f6d50f674cae1a5ae3889fdf3c56eb7c005d (patch) | |
tree | 274c1e8087aca7b0a366eaf61b08fbd177a52a29 /modules/auth/repo_form.go | |
parent | 86dbda0b42d05caf11d5c6d040f18dfbcc742e04 (diff) | |
download | gitea-ac95f6d50f674cae1a5ae3889fdf3c56eb7c005d.tar.gz gitea-ac95f6d50f674cae1a5ae3889fdf3c56eb7c005d.zip |
UI: basic label list
- create new label
Diffstat (limited to 'modules/auth/repo_form.go')
-rw-r--r-- | modules/auth/repo_form.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/auth/repo_form.go b/modules/auth/repo_form.go index a092830188..a0b479eaaf 100644 --- a/modules/auth/repo_form.go +++ b/modules/auth/repo_form.go @@ -134,8 +134,8 @@ func (f *CreateMilestoneForm) Validate(ctx *macaron.Context, errs binding.Errors // \/ \/ \/ \/ type CreateLabelForm struct { - Title string `form:"title" binding:"Required;MaxSize(50)"` - Color string `form:"color" binding:"Required;Size(7)"` + Title string `binding:"Required;MaxSize(50)" locale:"repo.issues.label_name"` + Color string `binding:"Required;Size(7)" locale:"repo.issues.label_color"` } func (f *CreateLabelForm) Validate(ctx *macaron.Context, errs binding.Errors) binding.Errors { |