Orbit/app/views/admin/asset_categories/create.js.erb

2 lines
167 B
Plaintext
Raw Normal View History

2012-05-16 03:07:11 +00:00
$('<%= j render :partial => 'asset_category', :collection => [@asset_category] %>').appendTo('#asset_categories').hide().fadeIn();
$("#new_asset_category")[0].reset();