I have a little form:
= f.label :option_1, "title" = f.check_box :option_1
And this is a render:
How to remove " Option 1 " from the tag?
= f.check_box :option_1, label: "title" works for me :)
= f.check_box :option_1, label: "title"
Do not call the label helper method at all!
Instead
Use only
= f.check_box :option_1
Do you just need a "title" and a checkbox under it? This should work:
= f.label "title" = f.check_box :option_1
= f.label :option_1, "title" = f.check_box :option_1, label: false