summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-02-08 10:40:15 +0000
committerFilipa Lacerda <filipa@gitlab.com>2017-02-08 10:40:15 +0000
commit2d2db6eec8f59316eff51240a74ebce017e06e92 (patch)
tree7da530faeb106e64c2ff799ea8ca67fef85c9523
parent38f5bbf08834e297ffa101714a1e537e1889c37e (diff)
downloadgitlab-ce-2d2db6eec8f59316eff51240a74ebce017e06e92.tar.gz
Sends checkbox parameters as boolean
-rw-r--r--app/views/groups/_create_chat_team.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/groups/_create_chat_team.html.haml b/app/views/groups/_create_chat_team.html.haml
index c06a7a23346..1e702c4f20f 100644
--- a/app/views/groups/_create_chat_team.html.haml
+++ b/app/views/groups/_create_chat_team.html.haml
@@ -6,7 +6,7 @@
.col-sm-10
.checkbox
= 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
.form-group