|
|
@ -17,7 +17,7 @@ import ( |
|
|
|
// \/ /_____/ \/ \/ \/ \/ \/
|
|
|
|
// \/ /_____/ \/ \/ \/ \/ \/
|
|
|
|
|
|
|
|
|
|
|
|
type CreateOrgForm struct { |
|
|
|
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 { |
|
|
|
func (f *CreateOrgForm) Validate(ctx *macaron.Context, errs binding.Errors) binding.Errors { |
|
|
|