dev_bj
caishi 5 years ago
parent 27ed601e4d
commit 2bbd98b252

@ -5,7 +5,7 @@
<% index += 1 %>
<% @competition.competition_stages.each_with_index do |stage, i| %>
<div class="<%= i == 1 ? "second_3_small" :"second_3" %>" style="background: url(<%= named_attachment_path(@images[index], @images[index].try(:filename)) %>) no-repeat top center;">
<div class="<%= i == 0 ? "second_3_small" :"second_3" %>" style="background: url(<%= named_attachment_path(@images[index], @images[index].try(:filename)) %>) no-repeat top center;">
<div class="enter_panel">
<% stage.competition_stage_sections.each do |section| %>
<ul class="mb30">

Loading…
Cancel
Save