2018-08-03 01:08:08 +02: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