Commit 2d2db6ee authored by Filipa Lacerda's avatar Filipa Lacerda

Sends checkbox parameters as boolean

parent 38f5bbf0
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
.col-sm-10 .col-sm-10
.checkbox .checkbox
= f.label :create_chat_team do = f.label :create_chat_team do
= f.check_box :create_chat_team, checked: @group.chat_team = f.check_box(:create_chat_team, { checked: @group.chat_team }, 'true', 'false')
Link the group to a new Mattermost team Link the group to a new Mattermost team
.form-group .form-group
......
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