2016-05-30 16:24:51 +08:00
|
|
|
<div class="por_left">
|
|
|
|
<% @subfield_content.each do |field| %>
|
|
|
|
<% if field.status.to_i == 1 %>
|
2016-06-01 14:31:42 +08:00
|
|
|
<%= render :partial => 'organizations/org_custom_left1', :locals => {:field => field, :acts => get_subfield_acts(field) } %>
|
2016-05-30 16:24:51 +08:00
|
|
|
<% elsif field.status.to_i == 2 %>
|
|
|
|
<%= render :partial => 'organizations/org_custom_left2', :locals => {:field => field} %>
|
2016-05-31 18:37:21 +08:00
|
|
|
<% elsif field.status.to_i == 3 %>
|
|
|
|
<%= render :partial => 'organizations/org_custom_left3', :locals => {:field => field, :acts => get_subfield_acts(field) }%>
|
2016-05-30 16:24:51 +08:00
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
<!--右侧-->
|
|
|
|
<div class="por_right">
|
|
|
|
<% @subfield_content.each do |field| %>
|
|
|
|
<% if field.status.to_i == 4 %>
|
|
|
|
<%= render :partial => 'organizations/org_custom_right1', :locals => {:field => field} %>
|
|
|
|
<% elsif field.status.to_i == 5 %>
|
2016-06-02 21:32:56 +08:00
|
|
|
<%= render :partial => 'organizations/org_custom_right2', :locals => {:field => field, :containers => @excellent_projects} %>
|
2016-05-30 16:24:51 +08:00
|
|
|
<% elsif field.status.to_i == 6 %>
|
2016-05-31 18:37:21 +08:00
|
|
|
<%= render :partial => 'organizations/org_custom_right3', :locals => {:field => field} %>
|
2016-05-30 16:24:51 +08:00
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
<div class="cl"></div>
|