Sha256: d9782b0476e6826217a02d99278ece6aec8e1dff5ee362c8dfd2422b0a049f29

Contents?: true

Size: 227 Bytes

Versions: 13

Compression:

Stored size: 227 Bytes

Contents

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

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
spree-0.11.4 vendor/extensions/theme_default/app/views/admin/taxonomies/get_children.json.erb
spree-0.11.3 vendor/extensions/theme_default/app/views/admin/taxonomies/get_children.json.erb
spree_core-0.30.2 app/views/admin/taxonomies/get_children.json.erb
spree_core-0.30.1 app/views/admin/taxonomies/get_children.json.erb
spree_core-0.30.0 app/views/admin/taxonomies/get_children.json.erb
spree-0.11.2 vendor/extensions/theme_default/app/views/admin/taxonomies/get_children.json.erb
spree-0.11.1 vendor/extensions/theme_default/app/views/admin/taxonomies/get_children.json.erb
spree_core-0.30.0.beta1 app/views/admin/taxonomies/get_children.json.erb
spree-0.11.0 vendor/extensions/theme_default/app/views/admin/taxonomies/get_children.json.erb
spree-0.10.2 vendor/extensions/theme_default/app/views/admin/taxonomies/get_children.json.erb
spree-0.10.1 vendor/extensions/theme_default/app/views/admin/taxonomies/get_children.json.erb
spree-0.10.0 vendor/extensions/theme_default/app/views/admin/taxonomies/get_children.json.erb
spree-0.10.0.beta vendor/extensions/theme_default/app/views/admin/taxonomies/get_children.json.erb