Simple_form hidden checkbox jquery

If xxx is a boolean value simple_form generates a checkbox. After posting the form the value of xxx is false.

Code:

The solution is to hide the outer div:

Thanx.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

code