mercredi 22 avril 2015

How to hide a label in Rails form?

I have a bit of form:

  = f.label :option_1, "title"
  = f.check_box :option_1

And this is render:

img

How can I remove "Option 1" from label?




Aucun commentaire:

Enregistrer un commentaire