debian-mirror-gitlab/app/views/groups/_create_chat_team.html.haml
2022-07-23 20:15:48 +02:00

12 lines
605 B
Text

- 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