page.rhtml
33 lines
| 1020 B
| text/html+ruby
|
RhtmlLexer
|
r96 | <div class="contextual"> | ||
<%= link_to l(:label_personalize_page), :action => 'page_layout' %> | ||||
|
r60 | </div> | ||
|
r96 | <h2><%=l(:label_my_page)%></h2> | ||
|
r60 | <div id="list-top"> | ||
|
r240 | <% @blocks['top'].each do |b| | ||
next unless MyController::BLOCKS.keys.include? b %> | ||||
|
r60 | <div class="mypage-box"> | ||
<%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %> | ||||
</div> | ||||
<% end if @blocks['top'] %> | ||||
</div> | ||||
<div id="list-left" class="splitcontentleft"> | ||||
|
r240 | <% @blocks['left'].each do |b| | ||
next unless MyController::BLOCKS.keys.include? b %> | ||||
|
r60 | <div class="mypage-box"> | ||
<%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %> | ||||
</div> | ||||
<% end if @blocks['left'] %> | ||||
</div> | ||||
<div id="list-right" class="splitcontentright"> | ||||
|
r240 | <% @blocks['right'].each do |b| | ||
next unless MyController::BLOCKS.keys.include? b %> | ||||
|
r60 | <div class="mypage-box"> | ||
<%= render :partial => "my/blocks/#{b}", :locals => { :user => @user } %> | ||||
</div> | ||||
<% end if @blocks['right'] %> | ||||
</div> | ||||