<%= 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'] %>
<% content_for :header_tags do %> <%= javascript_include_tag 'context_menu' %> <%= stylesheet_link_tag 'context_menu' %> <% end %> <%= javascript_tag 'new ContextMenu({})' %> <% html_title(l(:label_my_page)) -%>