<%= link_to l(:label_personalize_page), :action => 'page_layout' %>

<%=l(:label_my_page)%>

<% @blocks['top'].each do |b| next unless MyController::BLOCKS.keys.include? b %>
<%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %>
<% end if @blocks['top'] %>
<% @blocks['left'].each do |b| next unless MyController::BLOCKS.keys.include? b %>
<%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %>
<% end if @blocks['left'] %>
<% @blocks['right'].each do |b| next unless MyController::BLOCKS.keys.include? b %>
<%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %>
<% end if @blocks['right'] %>