Skip to content

Foundation 5 & simple_form 3 check boxes

jmarceli edited this page Apr 2, 2015 · 3 revisions

In order to get desired check box markup for vertical forms it is crucial to use boolean_style: :inline. For example:

= f.input :remember_me, as: :boolean, boolean_style: :inline, 
  wrapper: :vertical_checkbox