summaryrefslogtreecommitdiff
path: root/app/views/groups/_create_chat_team.html.haml
blob: 07394eec107d590dfca3d935070ffb5f71940adf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.form-group
  .col-sm-2.col-form-label
    = f.label :create_chat_team do
      %span.mattermost-icon
        = custom_icon('icon_mattermost')
      Mattermost
  .col-sm-10
    .form-check.js-toggle-container
      .js-toggle-button.form-check-input= f.check_box(:create_chat_team, { checked: false }, true, false)
      = f.label :create_chat_team, class: 'form-check-label' do
        = _('Create a Mattermost team for this group')
      %br
      %small.light.js-toggle-content
        Mattermost URL:
        = Settings.mattermost.host
        %span> /
        %span{ "data-bind-out" => "create_chat_team" }