From 755eec745fa324fdd13078f0147638f8731652ba Mon Sep 17 00:00:00 2001 From: Unknwon <joe2010xtmf@163.com> Date: Sat, 2 Aug 2014 13:47:33 -0400 Subject: Finish new repo settings page --- modules/auth/repo_form.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/auth/repo_form.go') diff --git a/modules/auth/repo_form.go b/modules/auth/repo_form.go index 12bf5df5..a6c71e99 100644 --- a/modules/auth/repo_form.go +++ b/modules/auth/repo_form.go @@ -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"` -- cgit v1.2.3