|
|
@@ -206,7 +206,7 @@ func CloudBrainCreate(ctx *context.Context, form auth.CreateCloudBrainForm) { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if !jobNamePattern.MatchString(jobName) { |
|
|
|
|
|
|
|
|
if !jobNamePattern.MatchString(displayJobName) { |
|
|
ctx.RenderWithErr(ctx.Tr("repo.cloudbrain_jobname_err"), tplCloudBrainNew, &form) |
|
|
ctx.RenderWithErr(ctx.Tr("repo.cloudbrain_jobname_err"), tplCloudBrainNew, &form) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
|