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