Twitter Bootstrapping a locale selector drop-down in Rails 3
问题 I have a non-Bootstrapped locale selector in my otherwise generally Bootstrapped Rails 3 app that I want to Bootstrap-ify. I'm a bit stumped as to how to make an (I assume) unordered list in a form in a dropdown menu. TL;DR Go to Edit 3 at the bottom of this question for the completed solution. The current code is implemented in the following way: app/views/layouts/_header.html.haml %header.navbar.navbar-fixed-top .navbar-inner .container # ... %nav %ul.nav.pull-right # ... %li= render