mirror of
https://github.com/gogs/gogs.git
synced 2026-05-06 18:26:58 +02:00
repo_editor: able to trigger Git hooks (#4338)
This commit is contained in:
@@ -72,6 +72,10 @@ func (c *Context) RequireAutosize() {
|
||||
c.Require("Autosize")
|
||||
}
|
||||
|
||||
func (c *Context) RequireDropzone() {
|
||||
c.Require("Dropzone")
|
||||
}
|
||||
|
||||
// FormErr sets "Err_xxx" field in template data.
|
||||
func (c *Context) FormErr(names ...string) {
|
||||
for i := range names {
|
||||
|
||||
Reference in New Issue
Block a user