diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-11-18 16:16:36 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-11-18 16:16:36 +0300 |
commit | 311b0269b4eb9839fa63f80c8d7a58f32b8138a0 (patch) | |
tree | 07e7870bca8aed6d61fdcc810731c50d2c40af47 /app/views/projects/settings | |
parent | 27909cef6c4170ed9205afa7426b8d3de47cbb0c (diff) |
Add latest changes from gitlab-org/gitlab@14-5-stable-eev14.5.0-rc42
Diffstat (limited to 'app/views/projects/settings')
-rw-r--r-- | app/views/projects/settings/_general.html.haml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/projects/settings/_general.html.haml b/app/views/projects/settings/_general.html.haml index b185f45d129..0f4d5869cea 100644 --- a/app/views/projects/settings/_general.html.haml +++ b/app/views/projects/settings/_general.html.haml @@ -1,3 +1,4 @@ +- hidden_topics_field_id = 'project_topic_list_field' = form_for [@project], html: { multipart: true, class: "edit-project js-general-settings-form" }, authenticity_token: true do |f| %input{ name: 'update_section', type: 'hidden', value: 'js-general-settings' } @@ -15,9 +16,9 @@ .row .form-group.col-md-9 - = f.label :topics, _('Topics (optional)'), class: 'label-bold' - = f.text_field :topics, value: @project.topic_list.join(', '), maxlength: 2000, class: "form-control gl-form-input" - %p.form-text.text-muted= _('Separate topics with commas.') + = f.label :topics, _('Topics'), class: 'label-bold' + .js-topics-selector{ data: { hidden_input_id: hidden_topics_field_id } } + = f.hidden_field :topics, value: @project.topic_list.join(', '), id: hidden_topics_field_id .row .form-group.col-md-9 |