|
|
@@ -19,8 +19,9 @@ const ( |
|
|
|
|
|
|
|
func CreateCourse(ctx *context.Context) { |
|
|
|
ctx.Data["Title"] = ctx.Tr("new_course") |
|
|
|
org, _ := models.GetUserByName(setting.Course.OrgName) |
|
|
|
|
|
|
|
ctx.Data["Owner"] = setting.Course.OrgName |
|
|
|
ctx.Data["Owner"] = org |
|
|
|
|
|
|
|
ctx.HTML(200, tplCreateCourse) |
|
|
|
|
|
|
|