Nicolas Bally 6abf7679fd initial
2011-05-14 13:36:30 +02:00

7 lines
269 B
Plaintext

.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