<% data = render(:partial=>"/asset/asset_list", :locals=>{:mode=>"editor"}) %> $('#files').html("<%= j data %>"); $(".best_in_place").best_in_place(); init_fancybox();