forked from forgejo/forgejo
Clean names
This commit is contained in:
parent
3f4c040f3f
commit
09dba7d63e
11 changed files with 30 additions and 731 deletions
|
@ -34,7 +34,7 @@ func (f *AdminEditUserForm) Name(field string) string {
|
|||
return names[field]
|
||||
}
|
||||
|
||||
func (f *AdminEditUserForm) Validate(errors *binding.BindingErrors, req *http.Request, context martini.Context) {
|
||||
func (f *AdminEditUserForm) Validate(errors *binding.Errors, req *http.Request, context martini.Context) {
|
||||
data := context.Get(reflect.TypeOf(base.TmplData{})).Interface().(base.TmplData)
|
||||
validate(errors, data, f)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue