Sha256: b42440e21175f78427f3ad65a9fa0e563cdef7ce8bcfd59d489a6a2b7b4d41f3

Contents?: true

Size: 385 Bytes

Versions: 4

Compression:

Stored size: 385 Bytes

Contents

- if opts[:admin]
  - handle=   content_tag :div, raw(" "), :class => :handle
  - link=     link_to(node.title, url_for(node), :title => node.title)
  - content=  raw(handle.to_s) + controls + link
  %div{ :class => "link#{' root' if root}" }
    = content
- else
  %div{:class => "link #{"root" if root}"}
    = link_to(node.title, polymorphic_path(node), :title => node.title)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
the_sortable_tree-1.2.0 app/views/the_sortable_tree/_link.html.haml
the_sortable_tree-1.1.3 app/views/the_sortable_tree/_link.html.haml
the_sortable_tree-1.1.1 app/views/the_sortable_tree/_link.html.haml
the_sortable_tree-1.0.0 app/views/the_sortable_tree/_link.html.haml