README.md in bootstrap-view-helpers-0.0.6 vs README.md in bootstrap-view-helpers-0.0.7

- old
+ new

@@ -29,10 +29,19 @@ This is a new gem undergoing a lot of change. There is a chance that some backwards compatibility will be broken until things settle down. ## Installation +### Bootstrap Requirement + +*Bootstrap is required in your application, but bootstrap-view-helpers does not +enforce this. You are responsible for Bootstrap being present in your application.* + +There are gems for this including [bootstrap-sass](https://github.com/thomas-mcdonald/bootstrap-sass). + +### Installing bootstrap-view-helpers + Add it to your Gemfile: ```ruby gem "bootstrap-view-helpers" ``` @@ -41,10 +50,16 @@ ```sh bundle install ``` +See working examples served up in your application (assuming you have Bootstrap): + +``` +http://<your app>/bootstrap_view_helpers +``` + ## API Documentation Complete [API documentation](http://rubydoc.info/gems/bootstrap-view-helpers/frames/file/README.md) at [RubyGems.org](https://rubygems.org/). ## Examples @@ -67,11 +82,11 @@ <%= nav_dropdown('Foo') do %> <%= dropdown_item('One', 'foo')%> <% end %> - <% end %> - <% end %> + <% end %> +<% end %> ``` #### Navigation List (sidebar) ```erb <%= nav_list(id: 'my') do %>