seyhunak / twitter-bootstrap-rails

Twitter Bootstrap for Rails 6.0, Rails 5 - Rails 4.x Asset Pipeline
https://github.com/seyhunak/twitter-bootstrap-rails
4.49k stars 997 forks source link

Adds brand_html_left and brand_html_right options to NavBar helper. #680

Closed Nejuf closed 10 years ago

Nejuf commented 10 years ago

Enables the user to pass in optional html to appear before or after the brand.

brand_html_right brand_html_right_collapsed

A similar result can't be achieved in the nav_bar block because all of that gets wrapped into the "nav-collapsed collapsed" div, where it breaks away from the brand when collapsed.