forked from forgejo/forgejo
Finish new repo settings page
This commit is contained in:
parent
669552e255
commit
755eec745f
25 changed files with 502 additions and 347 deletions
|
@ -48,7 +48,7 @@ func (f *MigrateRepoForm) Validate(ctx *macaron.Context, errs *binding.Errors, l
|
|||
}
|
||||
|
||||
type RepoSettingForm struct {
|
||||
RepoName string `form:"name" binding:"Required;AlphaDash;MaxSize(100)"`
|
||||
RepoName string `form:"repo_name" binding:"Required;AlphaDash;MaxSize(100)"`
|
||||
Description string `form:"desc" binding:"MaxSize(255)"`
|
||||
Website string `form:"site" binding:"Url;MaxSize(100)"`
|
||||
Branch string `form:"branch"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue