Sha256: c89179a1f1b9c4d5745b15534ad33ba5d39c8a7d885b61c5c1982f436d07aa7e
Contents?: true
Size: 423 Bytes
Versions: 2
Compression:
Stored size: 423 Bytes
Contents
- unless defined?(level) - level = 0 - geo_zones.each do |geo_zone| %li{ :rel => geo_zone.children.empty? ? 'file' : 'folder', :id => "geo_zone_#{geo_zone.id}" } = link_to geo_zone.name, '#' - unless geo_zone.children.empty? - content_tag :ul do - geo_zone.children.each do |child| = render :partial => 'admin/geo_zones/list', :locals => { :geo_zones => [child], :level => (level + 1) }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
forgeos_commerce-1.9.1.rc1 | app/views/admin/geo_zones/_list.html.haml |
forgeos_commerce-1.9.0 | app/views/admin/geo_zones/_list.html.haml |