diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-02-08 13:40:15 +0300 |
---|---|---|
committer | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-02-16 11:19:28 +0300 |
commit | 1f66d255ee0aee23a829640a5638eeac485f4883 (patch) | |
tree | 8f49183280296ac639f28643dd359ebb1f3459f5 /app | |
parent | c3a1c47a460342ff670bbf4a83e27174dd45f0d2 (diff) |
Sends checkbox parameters as boolean
Diffstat (limited to 'app')
-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 |