Hi guys,
I’m using Bootstrap 3 with Rails 4 and having a bit of trouble aligning
my
horizontal radio-buttons. In my HAML I have this line
.row
.col-md-12
=f.association :search_engine, as: :radio_buttons,
item_wrapper_class: ‘radio-inline’, label: false
but when I load the page, I get as attached:
https://lh5.googleusercontent.com/-xThqNNJHh0E/UxHq_yRoErI/AAAAAAAALJ0/8HXNISeQmlw/s1600/Screen+Shot+2014-03-01+at+5.12.04+PM.png
How can I fix this?
On Mar 1, 2014, at 9:13 AM, bertly_the_coder wrote:
I think you need form-inline on the parent of the radio buttons.
Something like this (in HTML, can’t read HAML)
Walter
Beautiful! That worked…thx!
On Sat, Mar 1, 2014 at 5:56 PM, Walter Lee D. [email protected]
wrote:
=f.association :search_engine, as: :radio_buttons,
<label class="radio-inline">
Walter
To unsubscribe from this group and stop receiving emails from it, send
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/rubyonrails-talk/rI5fj4jm2gs/unsubscribe
.
To unsubscribe from this group and all its topics, send an email to
[email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/F2E594F5-6611-40DD-B466-DFCCC3A759FC%40wdstudio.com
.
For more options, visit https://groups.google.com/groups/opt_out.
–
Clarity is self-created. The universe is waiting on you, not the other
way
around - Me.
“Life isn’t about finding yourself. Life is about creating yourself.” -
G.
Bernard Shaw
“Life is what happens while you are busy making plans” - John Lennon
NAMASTE!!! Yeah I said it!!