Ruby on Rails
Saturday, March 1, 2014
Beautiful! That worked....thx!
On Sat, Mar 1, 2014 at 5:56 PM, Walter Lee Davis <waltd@wdstudio.com> wrote:
I think you need form-inline on the parent of the radio buttons. Something like this (in HTML, can't read HAML)
On Mar 1, 2014, at 9:13 AM, bertly_the_coder wrote:
> 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:
>
>
<div class="form-inline">
<label class="radio-inline">
<input type="radio">
</label>
<label class="radio-inline">
<input type="radio">
</label>
<label class="radio-inline">
<input type="radio">
</label>
</div>
Walter
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
>
> How can I fix this?
>
>
>
> --
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/F2E594F5-6611-40DD-B466-DFCCC3A759FC%40wdstudio.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/0cac56be-c708-445f-834e-62d435cbe12c%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to a topic in the Google Groups "Ruby on Rails: Talk" group.
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.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!!
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAJhVprmKkb--gRD_D7r4VC%3DhgGqr2S4X_0_ND1c%2BSs%2BvgSp1Ww%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment