2

I'd like to know how to create a "Select All" checkbox in my table. The only thing is that I'm not using input tag for the checkboxes, I'm using f.check_box. Here's my tbody:

<td>
  <label class="checkbox">
    <%= f.check_box :members, :name => 'point[members]['+member.id+']' %>
  </label>
</td>
Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
MarioTR
  • 23
  • 3

0 Answers0