From 2d2db6eec8f59316eff51240a74ebce017e06e92 Mon Sep 17 00:00:00 2001 From: Filipa Lacerda Date: Wed, 8 Feb 2017 10:40:15 +0000 Subject: Sends checkbox parameters as boolean --- app/views/groups/_create_chat_team.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1