summaryrefslogtreecommitdiff
path: root/app/views/groups/_create_chat_team.html.haml
blob: 45561031083d7037c5156b820d96725497773cb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
- bind_out_tag = content_tag(:span, nil, { data: { bind_out: :create_chat_team } })
- checkbox_help_text = "%s %s/%s".html_safe % [_('Mattermost URL:'), Settings.mattermost.host, bind_out_tag]

.form-group
  .col-sm-2.col-form-label
    = f.label :create_chat_team do
      %span.gl-display-flex
        = custom_icon('icon_mattermost')
        %span.gl-ml-2= _('Mattermost')
  .col-sm-12
    = f.gitlab_ui_checkbox_component :create_chat_team, _('Create a Mattermost team for this group'), help_text: checkbox_help_text, checkbox_options: { checked: false }, checked_value: true, unchecked_value: false