-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
This page was created by the OSS community and might be outdated or incomplete. Feel free to improve or update this content according to the latest versions of SimpleForm and Rails to help the next developer who visits this wiki after you.
Keep in mind to maintain the guides as simple as possible and to avoid additional dependencies that might be specific to your application or workflow (such as Haml, RSpec, Guard and similars).