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 ( 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.


Re: Bootstrap pills

maybe with will be helpful?