Sends checkbox parameters as boolean

This commit is contained in:
Filipa Lacerda 2017-02-08 10:40:15 +00:00 committed by Z.J. van de Weg
parent c3a1c47a46
commit 1f66d255ee
1 changed files with 1 additions and 1 deletions

View File

@ -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