<h2><%=l(:label_my_page)%></h2>
<div id="list-top">
- <% @blocks['top'].each do |b|
+ <% @blocks['top'].each do |b|
next unless MyController::BLOCKS.keys.include? b %>
- <div class="mypage-box">
+ <div class="mypage-box">
<%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %>
</div>
<% end if @blocks['top'] %>
</div>
<div id="list-left" class="splitcontentleft">
- <% @blocks['left'].each do |b|
+ <% @blocks['left'].each do |b|
next unless MyController::BLOCKS.keys.include? b %>
- <div class="mypage-box">
+ <div class="mypage-box">
<%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %>
</div>
<% end if @blocks['left'] %>
</div>
<div id="list-right" class="splitcontentright">
- <% @blocks['right'].each do |b|
+ <% @blocks['right'].each do |b|
next unless MyController::BLOCKS.keys.include? b %>
- <div class="mypage-box">
+ <div class="mypage-box">
<%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %>
</div>
<% end if @blocks['right'] %>