anchor.diff:                          </ul>
                       </div>
   
  -                    <% unless @offers.at(0).photo.nil? %>
  -                        <img class="small-photo" src="<%= @offers.at(0).photo %>" alt="" style="width:300px; height: 250px"/>
  +                    <% unless offer.photo.nil? %>
  +                        <img class="small-photo" src="<%= offer.photo %>" alt="" style="width:300px; height: 250px"/>
                       <%end%>
                     </li>
                   </ul>
  
positive.code:                   <li class="img_item">
                      <div class="caption" style=" width: 280px;">
                        <ul class="offer-price-box pull-left">
                          <li class="offer-disccount"><%= "-" + @offers.at(0).prizes.first.discount_percentage.to_s + "%"%> </li>
                          <li class="offer-price">$<%= @offers.at(0).prizes.first.discounted_price.to_i unless @offers.at(0).prizes.first.nil? %></li>
                        </ul>
  
                      <!-- End of .flap-items -->
  
negative.code:                 </div><!--end row-->
                </div><!--end span4-->
  
  
  
                 <% i += 1 %>
                <% if i%3 == 0 %>
  
                    </div>
  
                <%end%>
  
         <% end %>
  
  
  
    </div>
  
  