I am facing an issue with twitter bootstrap tabs in my (HAML) ruby on rails project. Although the tabs are appearing, the content does not change when I click on different tabs. Additionally, some unexpected statements are showing up at the bottom of the first tab's content on the webpage: - Howdy, I'm in Updates. - Howdy, I'm in Sponsors. - Howdy, I'm in Comments.
The snippet below displays where the tab content is listed:
Thank you for your assistance!
.row#main-content{style:"background-color: white;margin-bottom:40px;"}
.span8#content-left
.tabbable
%ul.nav.nav-tabs
%li.active
= link_to "About", "#tab1", "data-toggle"=>"tab"
%li
= link_to "Updates", "#tab2", "data-toggle"=>"tab"
%li
= link_to "Backerss", "#tab3", "data-toggle"=>"tab"
%li
= link_to "Comments", "#tab4", "data-toggle"=>"tab"
.tab-content
.tab-pane.active{id: "tab1"}
// Content for tab 1 here
.tab-pane{id: "tab2"}
%p Howdy, I'm in Campaigns.
.tab-pane{id: "tab3"}
%p Howdy, I'm in Campaign Donations.
.tab-pane{id: "tab4"}
%p Howdy, I'm in Personal Donations.