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-1.1.6 app/views/spree/admin/taxonomies/get_children.json.erb
spree_core-1.1.5 app/views/spree/admin/taxonomies/get_children.json.erb
spree_core-1.0.7 app/views/spree/admin/taxonomies/get_children.json.erb
spree_core-1.1.4 app/views/spree/admin/taxonomies/get_children.json.erb
spree_core-1.2.0 app/views/spree/admin/taxonomies/get_children.json.erb
spree_core-1.2.0.rc2 app/views/spree/admin/taxonomies/get_children.json.erb
spree_core-1.2.0.rc1 app/views/spree/admin/taxonomies/get_children.json.erb
spree_core-1.1.3 app/views/spree/admin/taxonomies/get_children.json.erb
spree_core-1.0.6 app/views/spree/admin/taxonomies/get_children.json.erb
spree_core-0.70.7 app/views/admin/taxonomies/get_children.json.erb
spree_core-0.70.6 app/views/admin/taxonomies/get_children.json.erb
spree_core-1.1.2 app/views/spree/admin/taxonomies/get_children.json.erb
spree_core-1.1.2.rc1 app/views/spree/admin/taxonomies/get_children.json.erb
spree_core-1.1.1 app/views/spree/admin/taxonomies/get_children.json.erb
spree_core-1.1.0 app/views/spree/admin/taxonomies/get_children.json.erb
spree_core-1.0.4 app/views/spree/admin/taxonomies/get_children.json.erb
spree_core-1.1.0.rc2 app/views/spree/admin/taxonomies/get_children.json.erb
spree_core-1.1.0.rc1 app/views/spree/admin/taxonomies/get_children.json.erb
spree_core-1.0.3 app/views/spree/admin/taxonomies/get_children.json.erb
spree_core-1.0.2 app/views/spree/admin/taxonomies/get_children.json.erb