Search code examples
ruby-on-railshamlformtastic

Formtastic boolean/checkbox label not hiding


= form.input :success, label: false

The above code should hide the label but it doesn't. Any ideas why it's still showing the label?


Solution

  • Try using the simple_form gem instead of formtastic.

    EDIT: label: "" seems to be the (slightly hacky) solution if you are really intent on using Formtastic.