BigW Consortium Gitlab

Commit 38f5bbf0 by Filipa Lacerda

Fix form fields to bing to correct model

parent 34cc2a8e
.form-group .form-group
= f.label :name, class: 'control-label' do = f.label :create_chat_team, class: 'control-label' do
%span.mattermost-icon %span.mattermost-icon
= custom_icon('icon_mattermost') = custom_icon('icon_mattermost')
Mattermost Mattermost
.col-sm-10 .col-sm-10
.checkbox .checkbox
= f.label :name do = f.label :create_chat_team do
= f.check_box :create_chat_team, checked: true = f.check_box :create_chat_team, checked: @group.chat_team
Link the group to a new Mattermost team Link the group to a new Mattermost team
.form-group .form-group
= f.label :chat_team, class: 'control-label' do = f.label :chat_team, class: 'control-label' do
Chat Team name Chat Team name
.col-sm-10 .col-sm-10
= f.text_field :chat_team, placeholder: @group.name, class: 'form-control mattermost-team-name' = f.text_field :chat_team, placeholder: @group.chat_team, class: 'form-control mattermost-team-name'
%small
Leave blank to match your group name Leave blank to match your group name
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment