weppos/tabs_on_rails

passing options to tabs

aaronchi opened this issue · 2 comments

It would be nice to be able to pass in id/class and other options to the main tabs call to render in the ul tag

You can already do this by creating a custom builder and overwriting the open_tabs method.

However, I agree I could go further and allow runtime customization passing for example a Hash of options to the open_tabs method. Then you would be able to use the Hash within open_tabs as you want.

Is this what you are asking for?

Just committed: 6d1c197 ;)
I'll package a new release ASAP.