Ask A Question

Notifications

You’re not receiving notifications from this thread.

search and paginate inside of dropdowm-menu

Hossein Vatani asked in Rails

I'm new to web applications in general, and I'm starting with Rails. I'm trying to create a dropdown menu in the html.erb file using the form.collection_select command, but I'd like it to include Paginate and Search Item. The biggest issue is pagination; I spent several days searching in the internet but was unable to find any solution. I could add pagination, but it show outof that(I could send link to image in this site beacuse I'm newby here)
, but it isn't what should be.It should be into dropdown-menu and in top of placed Search and in bottom place Paginate as fix place.How do I make a dropdown menu using paginate that is inside the dropdown-menu? javascript? css?

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 82,464+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.