Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2017-08-17 12:42:23 +0300
committerKamil Trzciński <ayufan@ayufan.eu>2017-08-17 12:42:23 +0300
commitdb3289be55f5efe7523d2e8119f549b93c140b92 (patch)
tree6a18944ae67c21c6375043dea65adb71b1fe1f8e /app
parent938e63ef4abe4915326b852945579877e4aa3c83 (diff)
parent1d8025feca1a3f5a18dbf2b3dea6a073e0c1d4b4 (diff)
Merge branch 'zj-fix-fe-posting-value' into 'master'
Fix project templates and add docs Closes #36492 See merge request !13563
Diffstat (limited to 'app')
-rw-r--r--app/views/projects/_project_templates.html.haml2
-rw-r--r--app/views/projects/new.html.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/_project_templates.html.haml b/app/views/projects/_project_templates.html.haml
index 21baf35f2ac..97cf13df070 100644
--- a/app/views/projects/_project_templates.html.haml
+++ b/app/views/projects/_project_templates.html.haml
@@ -5,6 +5,6 @@
Blank
- Gitlab::ProjectTemplate.all.each do |template|
.btn
- %input{ type: "radio", autocomplete: "off", name: "project_templates", id: template.name }
+ %input{ type: "radio", autocomplete: "off", name: "project[template_name]", id: template.name, value: template.name }
= custom_icon(template.logo)
= template.title
diff --git a/app/views/projects/new.html.haml b/app/views/projects/new.html.haml
index e3bbebbcf4c..647e0a772b1 100644
--- a/app/views/projects/new.html.haml
+++ b/app/views/projects/new.html.haml
@@ -25,7 +25,7 @@
.form-group
= f.label :template_project, class: 'label-light' do
Create from template
- = link_to icon('question-circle'), help_page_path("public_access/public_access"), aria: { label: "What’s included in a template?" }, title: "What’s included in a template?", class: 'has-tooltip', data: { placement: 'top'}
+ = link_to icon('question-circle'), help_page_path("gitlab-basics/create-project"), target: '_blank', aria: { label: "What’s included in a template?" }, title: "What’s included in a template?", class: 'has-tooltip', data: { placement: 'top'}
%div
= render 'project_templates', f: f
.second-column