Fix: '', '' -> nil, nil in input generation.

This commit is contained in:
Ilya Konanykhin
2016-12-23 00:20:03 +06:00
parent 58bc6b1a83
commit 3fc812bd7a
3 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -13,7 +13,7 @@
- @task_list.tasks.each do |task|
.checkbox
%label
= check_box_tag '', '', task.done, class: 'task_list_task', type: 'checkbox', "data-id": task.id
= check_box_tag nil, nil, task.done, class: 'task_list_task', type: 'checkbox', "data-id": task.id
= task.task
.form-group