Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parameterize class of current tab #22

Open
ruurd opened this issue Jul 23, 2012 · 2 comments
Open

Parameterize class of current tab #22

ruurd opened this issue Jul 23, 2012 · 2 comments

Comments

@ruurd
Copy link
Contributor

ruurd commented Jul 23, 2012

Please make the CSS class name for the active tab parameterizable. Currently the current tab is adorned with class="current" however for example bootstrap does the same with class="active".

@weppos
Copy link
Owner

weppos commented Jul 24, 2012

I agree. This is something I would have done a while ago.

@Mirv
Copy link

Mirv commented Jun 24, 2017

I'm not super great with using your gem yet...but you did add this in right?

  <%= tabs_tag :open_tabs => { :class => "nav nav-tabs" },  :active_class => "active" do |tab| %>
``

The only thing I see is for some reason, it still throw's <span></span> around it & I'm wondering if that's conflicting with my bootstrap with active_class?

Is the <span> absolutely required or can we disable it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants