summaryrefslogtreecommitdiff
path: root/app/views/groups/_create_chat_team.html.haml
blob: f950968030f6681982daf8830433c96069a2046f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.form-group
  = f.label :create_chat_team, class: 'col-form-label' 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: true }, 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" }