You can try this <%= f.select :button, ["1",
"2","3"] %>
On Thursday, September 27, 2012 12:23:22 PM UTC+5:30, Akvarel
wrote:>
> I am folowing this tutorial http://ruby.railstutorial.org and I want to
> make dropdowns buttons with several suboptions.
>
> The code on this cite
> http://twitter.github.com/bootstrap/javascript.html#dropdowns helps me
> alot, but the button ist unclicable, I cannot by clicking on this button
> open my 3 suboptions. Should I add somewhere a javascript? If yes, where
> should I add it?
>
> Thank you in advanced.
>
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/WVFkq_Yh0YAJ.
For more options, visit https://groups.google.com/groups/opt_out.