summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2018-09-27 02:32:10 +0000
committerStan Hu <stanhu@gmail.com>2018-09-27 02:32:10 +0000
commit0d84dd228724b792d7b75a4e5337a5fe5c4e0bf9 (patch)
treec2a4197b0bcbe8941be1fa0352a84303a8763b93 /app
parent45a5a371a214b7a3e478ddd08f18c29753add000 (diff)
parent26995798f0ffc03de250ffd9953c63d175208098 (diff)
downloadgitlab-ce-0d84dd228724b792d7b75a4e5337a5fe5c4e0bf9.tar.gz
Merge branch '51522-add-new-project-via-import-by-url-auto-populates-slug-but-not-project-name' into 'master'
Resolve "Add new project via import by URL auto populates slug but not project name" Closes #51522 See merge request gitlab-org/gitlab-ce!21770
Diffstat (limited to 'app')
-rw-r--r--app/views/import/gitlab_projects/new.html.haml2
-rw-r--r--app/views/projects/_new_project_fields.html.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/import/gitlab_projects/new.html.haml b/app/views/import/gitlab_projects/new.html.haml
index 877d945a09b..5e4595d930b 100644
--- a/app/views/import/gitlab_projects/new.html.haml
+++ b/app/views/import/gitlab_projects/new.html.haml
@@ -10,7 +10,7 @@
.row
.form-group.project-name.col-sm-12
= label_tag :name, _('Project name'), class: 'label-bold'
- = text_field_tag :name, @name, placeholder: "My awesome project", class: "js-project-name form-control input-lg", autofocus: true, required: true
+ = text_field_tag :name, @name, placeholder: "My awesome project", class: "js-project-name form-control input-lg", autofocus: true
.form-group.col-12.col-sm-6
= label_tag :namespace_id, _('Project URL'), class: 'label-bold'
.form-group
diff --git a/app/views/projects/_new_project_fields.html.haml b/app/views/projects/_new_project_fields.html.haml
index db07c475866..cbf89fa8f02 100644
--- a/app/views/projects/_new_project_fields.html.haml
+++ b/app/views/projects/_new_project_fields.html.haml
@@ -7,7 +7,7 @@
.form-group.project-name.col-sm-12
= f.label :name, class: 'label-bold' do
%span= _("Project name")
- = f.text_field :name, placeholder: "My awesome project", class: "form-control input-lg", autofocus: true, required: true
+ = f.text_field :name, placeholder: "My awesome project", class: "form-control input-lg", autofocus: true
.form-group.project-path.col-sm-6
= f.label :namespace_id, class: 'label-bold' do
%span= s_("Project URL")