minor fix on template

This commit is contained in:
Unknwon 2015-09-07 14:02:09 -04:00
parent 3d9b98fae4
commit cc83043edc
4 changed files with 2 additions and 6 deletions

View file

@ -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 {