1
0
Fork 0
forked from forgejo/forgejo

Update create repo

This commit is contained in:
Unknown 2014-03-11 00:53:53 -04:00
parent 5b5d54621e
commit b4727c7601
5 changed files with 34 additions and 30 deletions

View file

@ -18,7 +18,7 @@ import (
type CreateRepoForm struct {
UserId int64 `form:"userId"`
RepoName string `form:"repo" binding:"Required"`
RepoName string `form:"repo" binding:"Required;AlphaDash"`
Visibility string `form:"visibility"`
Description string `form:"desc" binding:"MaxSize(100)"`
Language string `form:"language"`