diff options
author | Unknwon <u@gogs.io> | 2015-09-06 10:56:31 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-09-06 10:56:31 -0400 |
commit | edc99bc8a4691d09cd42804fd0530c352201340e (patch) | |
tree | 837e4b978fc35a4905f7961bf9d26d5ed6124846 /modules/auth/org.go | |
parent | 80701d45bbe333f1bdef4673fae43df131b2222f (diff) | |
download | gitea-edc99bc8a4691d09cd42804fd0530c352201340e.tar.gz gitea-edc99bc8a4691d09cd42804fd0530c352201340e.zip |
new org options UI
Diffstat (limited to 'modules/auth/org.go')
-rw-r--r-- | modules/auth/org.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/auth/org.go b/modules/auth/org.go index e6a5ba7872..63c0616807 100644 --- a/modules/auth/org.go +++ b/modules/auth/org.go @@ -25,11 +25,11 @@ func (f *CreateOrgForm) Validate(ctx *macaron.Context, errs binding.Errors) bind } type UpdateOrgSettingForm struct { - OrgUserName string `form:"uname" binding:"Required;AlphaDashDot;MaxSize(30)" locale:"org.org_name_holder"` - OrgFullName string `form:"fullname" binding:"MaxSize(100)"` - Description string `form:"desc" binding:"MaxSize(255)"` - Website string `form:"website" binding:"Url;MaxSize(100)"` - Location string `form:"location" binding:"MaxSize(50)"` + Name string `binding:"Required;AlphaDashDot;MaxSize(30)" locale:"org.org_name_holder"` + FullName string `binding:"MaxSize(100)"` + Description string `binding:"MaxSize(255)"` + Website string `binding:"Url;MaxSize(100)"` + Location string `binding:"MaxSize(50)"` } func (f *UpdateOrgSettingForm) Validate(ctx *macaron.Context, errs binding.Errors) binding.Errors { |