weppos / tabs_on_rails

Tabs on Rails is a simple Rails plugin for creating and managing tabs and navigation menus.
https://simonecarletti.com/code/tabs-on-rails
MIT License
294 stars 52 forks source link

Add the support for the nav tag #13

Closed lyuba closed 12 years ago

lyuba commented 13 years ago

I've implemented it with a tab builder, but that would be even cooler to set it as an option to a default builder.

ghost commented 12 years ago

Are you using twitter-bootstrap ? if yes, could it be possible to share your tab builder ?

I have also an issue with tab menu drop down ... generating the following wit a tab builder ? is it possible

                    %li.dropdown{:style => "width: 90px;"}
                        = link_to "",  :'data-toggle' => "dropdown" do
                            Clients
                            %b.caret
                        %ul.dropdown-menu
                            %li= link_to "Users", backoffice_users_path
                            %li= link_to "Companies", backoffice_entities_path

thanks for feedback

weppos commented 12 years ago

Could you explain your request a little bit further?

ghost commented 12 years ago

sorry , I should have closed this issue ,as it's running well now... it was a CSS issue ( when first item is not large enough, ...the caret was displayed below)