summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-09-07 14:02:09 -0400
committerUnknwon <u@gogs.io>2015-09-07 14:02:09 -0400
commitcc83043edc2ddda52d3cbd2748b0fb4fe6406369 (patch)
treeeb5ef63723021daed80d52a2e713d4934d548f6b /modules
parent3d9b98fae4782a45edc3f53ad4561fe7e14a4377 (diff)
downloadgitea-cc83043edc2ddda52d3cbd2748b0fb4fe6406369.tar.gz
gitea-cc83043edc2ddda52d3cbd2748b0fb4fe6406369.zip
minor fix on template
Diffstat (limited to 'modules')
-rw-r--r--modules/auth/org.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/auth/org.go b/modules/auth/org.go
index 63c0616807..6d9a7269ec 100644
--- a/modules/auth/org.go
+++ b/modules/auth/org.go
@@ -17,7 +17,7 @@ import (
// \/ /_____/ \/ \/ \/ \/ \/
type CreateOrgForm struct {
- OrgName string `binding:"Required;AlphaDashDot;MaxSize(30)"`
+ OrgName string `binding:"Required;AlphaDashDot;MaxSize(30)" locale:"org.org_name_holder"`
}
func (f *CreateOrgForm) Validate(ctx *macaron.Context, errs binding.Errors) binding.Errors {