Last active
December 19, 2015 09:09
-
-
Save zirosas/5930701 to your computer and use it in GitHub Desktop.
Override the class name in the form_for helper. keep checkbox and label on same line.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Override the class name in the form_for helper. | |
<%= form_for("model", :url => model_action_path, :html => { :class => "form-horizontal" } ) do |f| %> | |
keep checkbox and label on same line. | |
:class => "checkbox inline" to label |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment