README.md in dynatree-rails-0.0.4 vs README.md in dynatree-rails-0.1.0

- old
+ new

@@ -39,11 +39,20 @@ Can be used to turn association select to a tree select, like this: #checkboxes + -# with simple_form = f.association :categories, as: :check_boxes, collection: Category.all + + -# with formtastic + = f.input :categories, as: :check_boxes, collection: Category.all + + -# without any + - Category.each do |c| + = check_box_tag "item[category_ids][]", c.id, @item.category_ids.include?(c.id) + #tree.controls.input{style: 'width: 220px;'} :javascript var categories = #{Dynatree::Renderer.new(Category.nested_set.all, f.object.categories).render()}; $(function(){ @@ -85,7 +94,7 @@ Dual licensed under the MIT or GPL Version 2 licenses. http://code.google.com/p/dynatree/wiki/LicenseInfo This code is: - Copyright (c) 2008-2011, GlebTV + Copyright (c) 2012, GlebTV Dual licensed under the MIT or GPL Version 2 licenses. \ No newline at end of file