Sha256: c04353e002b94db1e787083e08eb6366d6bc8480d48d0e8e98f2de22ef9e2510

Contents?: true

Size: 238 Bytes

Versions: 32

Compression:

Stored size: 238 Bytes

Contents

[<% @taxons.each_with_index do |t,i| %>
  { "attr" :
    { "id" : "<%= t.id %>" },
    "data" : "<%= t.name %>"
    <% unless t.children.empty? %>
      ,"state" : "closed"
    <% end %>
  }<%= "," if i < (@taxons.size - 1) %>
<% end %>]

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
spree_core-0.70.5 app/views/admin/taxonomies/get_children.json.erb
spree_core-1.0.1 app/views/spree/admin/taxonomies/get_children.json.erb
spree_core-0.70.4 app/views/admin/taxonomies/get_children.json.erb
spree_core-1.0.0 app/views/spree/admin/taxonomies/get_children.json.erb
spree_core-1.0.0.rc4 app/views/spree/admin/taxonomies/get_children.json.erb
spree_core-1.0.0.rc3 app/views/spree/admin/taxonomies/get_children.json.erb
spree_core-1.0.0.rc2 app/views/spree/admin/taxonomies/get_children.json.erb
spree_core-1.0.0.rc1 app/views/spree/admin/taxonomies/get_children.json.erb
spree_core-0.70.3 app/views/admin/taxonomies/get_children.json.erb
spree_core-0.70.2 app/views/admin/taxonomies/get_children.json.erb
spree_core-0.70.1 app/views/admin/taxonomies/get_children.json.erb
spree_core-0.70.0 app/views/admin/taxonomies/get_children.json.erb