2017-02-07 07:24:57 +00:00
|
|
|
.form-group
|
2019-02-03 14:29:34 +00:00
|
|
|
.col-sm-2.col-form-label
|
|
|
|
= f.label :create_chat_team do
|
2020-12-15 21:09:53 +00:00
|
|
|
%span.gl-display-flex
|
2019-02-03 14:29:34 +00:00
|
|
|
= custom_icon('icon_mattermost')
|
2021-04-06 00:09:06 +00:00
|
|
|
%span.gl-ml-2= _('Mattermost')
|
2020-12-15 21:09:53 +00:00
|
|
|
.col-sm-12
|
2018-04-11 18:05:57 +00:00
|
|
|
.form-check.js-toggle-container
|
2020-01-23 06:08:32 +00:00
|
|
|
.js-toggle-button.form-check-input= f.check_box(:create_chat_team, { checked: false }, true, false)
|
2018-05-31 19:20:46 +00:00
|
|
|
= f.label :create_chat_team, class: 'form-check-label' do
|
2019-10-15 18:06:01 +00:00
|
|
|
= _('Create a Mattermost team for this group')
|
2017-02-20 13:51:47 +00:00
|
|
|
%br
|
|
|
|
%small.light.js-toggle-content
|
2021-04-06 00:09:06 +00:00
|
|
|
= _('Mattermost URL:')
|
2017-02-20 13:51:47 +00:00
|
|
|
= Settings.mattermost.host
|
|
|
|
%span> /
|
2017-02-24 12:25:42 +00:00
|
|
|
%span{ "data-bind-out" => "create_chat_team" }
|