Nicolas Bally 3524d4c862 intial
2020-03-18 15:49:29 +01:00

7 lines
272 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