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

_comment_button.html.haml « notes « shared « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 53205301ec7fcc6415be8afb0caa164ed031b66b (plain)
1
2
3
4
5
- noteable_name = @note.noteable.human_class_name

.js-comment-type-dropdown.float-left.gl-sm-mr-3{ data: { noteable_name: noteable_name } }
  = render Pajamas::ButtonComponent.new(type: :submit, variant: :confirm, button_options: { class: 'js-comment-button js-comment-submit-button', value: _('Comment'), data: { testid: 'comment-button' }}) do
    = _('Comment')