Sha256: 7167bf7f7de1f72a56afc0e03da7b0977037eacef1fa12934bd34c3fec82dd35

Contents?: true

Size: 432 Bytes

Versions: 13

Compression:

Stored size: 432 Bytes

Contents

- title     = node.send opts[:title]
- handle    = content_tag :i, '', :class => :handle
- link      = link_to(title, url_for(opts[:namespace] + [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

13 entries across 13 versions & 2 rubygems

Version Path
the_sortable_tree_mongoid-1.8.5.1 app/views/the_sortable_tree/_link.html.haml
the_sortable_tree_mongoid-1.8.5 app/views/the_sortable_tree/_link.html.haml
the_sortable_tree-1.9.4 app/views/sortable/base/_link.html.haml
the_sortable_tree-1.9.3 app/views/sortable/base/_link.html.haml
the_sortable_tree-1.9.2 app/views/sortable/base/_link.html.haml
the_sortable_tree-1.9.1 app/views/sortable/base/_link.html.haml
the_sortable_tree-1.9.0 app/views/sortable/base/_link.html.haml
the_sortable_tree-1.8.6 app/views/the_sortable_tree/_link.html.haml
the_sortable_tree-1.8.5 app/views/the_sortable_tree/_link.html.haml
the_sortable_tree-1.8.0 app/views/the_sortable_tree/_link.html.haml
the_sortable_tree-1.7.1 app/views/the_sortable_tree/_link.html.haml
the_sortable_tree-1.7.0 app/views/the_sortable_tree/_link.html.haml
the_sortable_tree-1.6.0 app/views/the_sortable_tree/_link.html.haml