From cc83043edc2ddda52d3cbd2748b0fb4fe6406369 Mon Sep 17 00:00:00 2001 From: Unknwon <u@gogs.io> Date: Mon, 7 Sep 2015 14:02:09 -0400 Subject: minor fix on template --- modules/auth/org.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/auth') 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 { -- cgit v1.2.3