My tabs view look like this (Remember this is not part of application.html.erb, since I need the tabs to be available only to certain specific pages):
<div>
<div class="tabbable tabs-left">
<ul class="nav nav-tabs nav-stacked">
<li class="active">
<a href="settings_mail">Mail Settings</a>
</li>
<li>
<a href="settings_text">Text Settings</a>
</li>
</ul>
</div>
But, on clicking on any of the above tabs, the vertical tabs disappear and goes to the respective views. I would like to retain the tabs in each page it navigates to, any pointers are welcome.
How about using something like
in the relevant controllers? Like explained in http://guides.rubyonrails.org/layouts_and_rendering.html, “2.2.12.1 Specifying Layouts for Controllers”