How do you set a custom id when using a check_box_tag helper in rails?
I have a loop which creates a bunch of checkboxes based on a collection:
- subject
If you give the check box an extra parameter it will work:
= check_box_tag 'question[syllabus_reference]', 1, nil, :id => sr.id