$('#agg-view').html("<%= j render( :partial => 'plants/aggs_field', :locals => {:agg_possibs => controller.get_agg_possibs, :id => params[:id], :show_all => @show_all ? 'true' : 'false', :agg_id=>params[:agg_id]} )%>");
