Sha256: 7bc132a43f087b09b4220b61fd7a77839898f9a1922a88543fc3821829e15411
Contents?: true
Size: 477 Bytes
Versions: 1
Compression:
Stored size: 477 Bytes
Contents
.sortable = render :partial => "#{opts[:path]}/new", :locals => { :opts => opts } - unless tree.empty? :javascript $(function() { sortable = new TheSortableTree; sortable.max_levels = #{opts[:max_levels]}; sortable.rebuild_url = "#{url_for(:controller => opts[:klass].pluralize, :action => :rebuild)}"; sortable.init() }) %ol.ui-sortable.sortable.nested_set{ :id => "#{opts[:klass]}_nested_set" }= raw tree
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
the_sortable_tree-1.9.4 | app/views/sortable/base/_tree.html.haml |