.portlet_types
  -ContentType.all.each do |content_type|
    =link_to content_type.name, eval("new_portlet_"+content_type.slug.tableize.singularize+"_path(:block_id => @portlet.block_id, :position => params[:position])"), :remote => true

%br
%br
#new_portlet_content_form