app/views/pe_attributes/find_use_attribute.js.erb
$("#notifications").html("");
//$(".show_modules_using_attribute").html("<%#=raw j render :partial => 'find_use_attribute_modules', :object => @attribute_modules %>");
$(".modal-body-inner").html("<%=raw j render :partial => 'find_use_attribute_modules', :locals => {:attribute_modules => @attribute_modules, :pe_attribute => @pe_attribute}%>");
$("#myModalLabel").html("<%= "#{I18n.t(:text_finduse_attribute, :value => @pe_attribute.name)}" %>");
$("#edit_component").modal({
keyboard: false,
backdrop: "static"
});
$("#notifications").html("<%= j(render 'layouts/notifications') %>");