Topic: Bootstrap pills

I'm currently using Twitter bootstrap in development for a class project.  I have each page divided into a links section (first 1/3rd) and then the main content of that page.  The links page is always the same and code only written once.  I want to use the bootstrap pills (http://twitter.github.com/bootstrap/components.html) to show where the current page is. 

How do I implement this given that I cannot simply write 'active' on each different page but have to use variables (or rails in some way) to update the quick links section?

If any code is necessary, it won't be a problem.

Thanks!

Re: Bootstrap pills

maybe https://github.com/andi/simple-navigation with https://github.com/pdf/simple-navigation-bootstrap will be helpful?

Re: Bootstrap pills

Twitter Bootstrap 2.0 makes it easy to set up tabs, enabling your users to quickly switch between panes of content. On top of an excellent JavaScript plugin, the framework provides a number of options for style and layout which are well built and easy to implement. In the following two short videos, I’ll give you a brief introduction.

Web design chennai