2020-03-13 15:44:24 +05:30
|
|
|
- form = local_assigns.fetch(:form)
|
|
|
|
|
|
|
|
.form-group
|
|
|
|
%b= s_('ProjectSettings|Merge suggestions')
|
|
|
|
%p.text-secondary
|
|
|
|
= s_('ProjectSettings|The commit message used to apply merge request suggestions')
|
2020-11-24 15:15:51 +05:30
|
|
|
= link_to sprite_icon('question-o'),
|
2020-03-13 15:44:24 +05:30
|
|
|
help_page_path('user/discussions/index.md',
|
|
|
|
anchor: 'configure-the-commit-message-for-applied-suggestions'),
|
|
|
|
target: '_blank'
|
|
|
|
.mb-2
|
2021-03-11 19:13:27 +05:30
|
|
|
= form.text_field :suggestion_commit_message, class: 'form-control gl-form-input mb-2', placeholder: Gitlab::Suggestions::CommitMessage::DEFAULT_SUGGESTION_COMMIT_MESSAGE
|
2020-03-13 15:44:24 +05:30
|
|
|
%p.form-text.text-muted
|
|
|
|
= s_('ProjectSettings|The variables GitLab supports:')
|
2020-06-23 00:09:42 +05:30
|
|
|
- Gitlab::Suggestions::CommitMessage::PLACEHOLDERS.keys.each do |placeholder|
|
2020-03-13 15:44:24 +05:30
|
|
|
%code
|
|
|
|
= "%{#{placeholder}}".html_safe
|