Sha256: de2558f65fbee820b060f8975b98196bf7bac46d5c76080aa05d8c6e895c7412

Contents?: true

Size: 410 Bytes

Versions: 4

Compression:

Stored size: 410 Bytes

Contents

- title     = node.send opts[:title]
- handle    = content_tag :i, '', :class => :handle
- link      = link_to(title, url_for(node), :title => title)
- controls  = render(:partial  =>  "#{opts[:path]}/controls", :locals  =>  { :node => node, :opts => opts })
- controls  = content_tag(:b, controls, :class => :controls)
- element   = handle + controls + link
%div{ :class => "link#{' root' if root}" }= element

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
the_sortable_tree-1.5.0 app/views/the_sortable_tree/_link.html.haml
the_sortable_tree-1.4.8 app/views/the_sortable_tree/_link.html.haml
the_sortable_tree-1.4.7 app/views/the_sortable_tree/_link.html.haml
the_sortable_tree-1.4.6 app/views/the_sortable_tree/_link.html.haml