Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-02-08 13:40:15 +0300
committerZ.J. van de Weg <git@zjvandeweg.nl>2017-02-16 11:19:28 +0300
commit1f66d255ee0aee23a829640a5638eeac485f4883 (patch)
tree8f49183280296ac639f28643dd359ebb1f3459f5 /app/views/groups/_create_chat_team.html.haml
parentc3a1c47a460342ff670bbf4a83e27174dd45f0d2 (diff)
Sends checkbox parameters as boolean
Diffstat (limited to 'app/views/groups/_create_chat_team.html.haml')
-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