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
|
@ -96,9 +96,9 @@ func (ctx *Context) HasError() bool {
|
|||
return hasErr.(bool)
|
||||
}
|
||||
|
||||
// HTML calls render.HTML underlying but reduce one argument.
|
||||
// HTML calls Context.HTML and converts template name to string.
|
||||
func (ctx *Context) HTML(status int, name base.TplName) {
|
||||
ctx.Render.HTML(status, string(name), ctx.Data)
|
||||
ctx.Context.HTML(status, string(name))
|
||||
}
|
||||
|
||||
// RenderWithErr used for page has form validation but need to prompt error to users.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue