mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-17 06:04:04 +09:00
Clean names
This commit is contained in:
@ -30,7 +30,7 @@ func (f *NewReleaseForm) Name(field string) string {
|
||||
return names[field]
|
||||
}
|
||||
|
||||
func (f *NewReleaseForm) Validate(errors *binding.BindingErrors, req *http.Request, context martini.Context) {
|
||||
func (f *NewReleaseForm) Validate(errors *binding.Errors, req *http.Request, context martini.Context) {
|
||||
data := context.Get(reflect.TypeOf(base.TmplData{})).Interface().(base.TmplData)
|
||||
validate(errors, data, f)
|
||||
}
|
||||
|
Reference in New Issue
Block a user