|
@ -22,8 +22,9 @@ import ( |
|
|
|
|
|
|
|
|
// CreateOrgForm form for creating organization
|
|
|
// CreateOrgForm form for creating organization
|
|
|
type CreateOrgForm struct { |
|
|
type CreateOrgForm struct { |
|
|
OrgName string `binding:"Required;AlphaDashDot;MaxSize(40)" locale:"org.org_name_holder"` |
|
|
|
|
|
Visibility structs.VisibleType |
|
|
|
|
|
|
|
|
OrgName string `binding:"Required;AlphaDashDot;MaxSize(40)" locale:"org.org_name_holder"` |
|
|
|
|
|
Visibility structs.VisibleType |
|
|
|
|
|
RepoAdminChangeTeamAccess bool |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// Validate validates the fields
|
|
|
// Validate validates the fields
|
|
|