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