diff options
| author | Filipa Lacerda <filipa@gitlab.com> | 2017-02-08 10:40:15 +0000 |
|---|---|---|
| committer | Filipa Lacerda <filipa@gitlab.com> | 2017-02-08 10:40:15 +0000 |
| commit | 2d2db6eec8f59316eff51240a74ebce017e06e92 (patch) | |
| tree | 7da530faeb106e64c2ff799ea8ca67fef85c9523 | |
| parent | 38f5bbf08834e297ffa101714a1e537e1889c37e (diff) | |
| download | gitlab-ce-2d2db6eec8f59316eff51240a74ebce017e06e92.tar.gz | |
Sends checkbox parameters as boolean
| -rw-r--r-- | app/views/groups/_create_chat_team.html.haml | 2 |
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 |
