Files
devstar-create-from-template/routers/web/repo/create_from_template.go
2025-09-08 07:24:28 +00:00

21 lines
372 B
Go

package repo
import (
"net/http"
"code.gitea.io/gitea/modules/templates"
"code.gitea.io/gitea/services/context"
)
const (
tplCreateFromTemplate templates.TplName = "repo/create-from-template/create-from-template"
)
func CreateFromTemplate(ctx *context.Context) {
createCommon(ctx)
if ctx.Written() {
return
}
ctx.HTML(http.StatusOK, tplCreateFromTemplate)
}