
<% if !@project_category.blank? %>
$("#myModal1").modal('hide');
$("#<%= dom_id @project_category %>").replaceWith("<%= j render :partial => 'list_project_type', :collection => [@project_category] %>");
<% end %>