diff options
author | Unknwon <u@gogs.io> | 2015-11-18 17:42:20 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-11-18 17:42:20 -0500 |
commit | f04d773f4f72f8f167b7ceed4d4e9a6fd4e6ad16 (patch) | |
tree | 3c642ab96010e2ace4fce4563857a7d228a4a892 /modules/auth/org.go | |
parent | 4325b01a589ec9d20b6ef588deec3d14852f0816 (diff) | |
download | gitea-f04d773f4f72f8f167b7ceed4d4e9a6fd4e6ad16.tar.gz gitea-f04d773f4f72f8f167b7ceed4d4e9a6fd4e6ad16.zip |
UI: long organization name in create repository owner list
Diffstat (limited to 'modules/auth/org.go')
-rw-r--r-- | modules/auth/org.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/auth/org.go b/modules/auth/org.go index 0642d1cb7c..084ad43a8a 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)" locale:"org.org_name_holder"` + OrgName string `binding:"Required;AlphaDashDot;MaxSize(35)" locale:"org.org_name_holder"` } func (f *CreateOrgForm) Validate(ctx *macaron.Context, errs binding.Errors) binding.Errors { @@ -25,7 +25,7 @@ func (f *CreateOrgForm) Validate(ctx *macaron.Context, errs binding.Errors) bind } type UpdateOrgSettingForm struct { - Name string `binding:"Required;AlphaDashDot;MaxSize(30)" locale:"org.org_name_holder"` + Name string `binding:"Required;AlphaDashDot;MaxSize(35)" locale:"org.org_name_holder"` FullName string `binding:"MaxSize(100)"` Description string `binding:"MaxSize(255)"` Website string `binding:"Url;MaxSize(100)"` |