README.md in dynatree-rails-0.1.2 vs README.md in dynatree-rails-1.2.5

- old
+ new

@@ -1,8 +1,8 @@ # Dynatree-Rails -A Dynatree integration for rails 3.1 asset pipeline +A Dynatree integration for rails 3.1+ asset pipeline http://code.google.com/p/dynatree/ ## Installation @@ -24,33 +24,33 @@ //= require dynatree/skin or - //= require dynatree/skin - + //= require dynatree/skin-vista + js: //= require dynatree/jquery.dynatree For dynatree usage and examples see: http://code.google.com/p/dynatree/ ## An optional model-to-javascript tree renderer for mongoid_nested_set 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| + - 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 @@ -91,10 +91,10 @@ Dynatree is Copyright (c) 2008-2011, Martin Wendt (http://wwWendt.de) Dual licensed under the MIT or GPL Version 2 licenses. http://code.google.com/p/dynatree/wiki/LicenseInfo - + This code is: Copyright (c) 2012, GlebTV - Dual licensed under the MIT or GPL Version 2 licenses. \ No newline at end of file + Dual licensed under the MIT or GPL Version 2 licenses.