.main.row-fluid
  -block.portlets.each do |p|
    -if p.content_type

      =render :partial => "portlets/render_public/"+p.content_type.to_s.downcase, :locals => {:admin => false,:input => p.content}