Avada Kedavra
Results
1
comments of
Avada Kedavra
> If you would like to use rails standards (1 and 0 for checkboxes): > > ``` > check_box_tag 'complete', '1', task.complete, > onchange: "$(this).data('params', $(this).prop('name') + '=' + this.checked*this.checked)",...