README.md in bh-0.0.6 vs README.md in bh-0.0.7
- old
+ new
@@ -44,11 +44,11 @@
How to install
==============
Bh is meant to be included in Rails apps by adding this line to the Gemfile:
- gem 'bh', '~> 0.0.6'
+ gem 'bh', '~> 0.0.7'
Since the gem follows [Semantic Versioning](http://semver.org),
indicating the full version in your Gemfile (~> *major*.*minor*.*patch*)
guarantees that your project won’t occur in any error when you `bundle update`
and a new version of Bh is released.
@@ -274,11 +274,11 @@
```

Panel with title
-------------------
+----------------
```rhtml
<%= panel body: 'You accepted the Terms of service.', title: 'Congratulations' %>
```
@@ -294,11 +294,11 @@
```

Contextual panel
------------------
+----------------
```rhtml
<%= panel body: 'You accepted the Terms of service.', title: 'Congratulations', context: :success %>
```
@@ -533,9 +533,62 @@
<%= f.submit %>
<% end %>
```

+
+
+NavHelper
+===========
+
+To include [Boostrap navs](http://getbootstrap.com/components/#nav)
+in your Rails views, you can use the
+[nav](http://rubydoc.info/github/Fullscreen/bh/master/Bh/NavHelper) helper.
+Here are some examples.
+
+Justified tabs nav
+------------------
+
+```rhtml
+<%= nav layout: :justified do %>
+ <%= link_to 'Home', root_path %>
+ <%= link_to 'Profile', profile_path %>
+<% end %>
+```
+
+will generate the HTML to render a nav with two links (wrapped in the
+appropriate list items, as specified by Bootstrap documentation):
+
+```html
+<ul class="nav nav-tabs nav-justified" role="tablist">
+ <li class="active"><a href="/">Home</a></li>
+ <li><a href="/profile">Profile</a></li>
+</ul>
+```
+
+
+
+Stacked pills nav
+-----------------
+
+```rhtml
+<%= nav as: :pills, layout: :stacked do %>
+ <%= link_to 'Home', root_path %>
+ <%= link_to 'Profile', profile_path %>
+<% end %>
+
+```
+
+will generate the HTML to render a stacked *pills* nav:
+
+```html
+<ul class="nav nav-pills nav-stacked" role="tablist">
+ <li class="active"><a href="/">Home</a></li>
+ <li><a href="/profile">Profile</a></li>
+</ul>
+```
+
+
How to release new versions
===========================