anchor.diff:                          </div><!--end media-->
   
                       <% end %>
  +                <%end%>
   
   
                 </div>
                 <div class="tab-pane fade" id="old">
  -
  -                <% @old_offers.each do |offer| %>
  +                <% if @old_offers.empty?%>
   
                       <div class="media hotel-item">
  -                      <a class="pull-left" href="#">
  -                        <% unless offer.photo.nil? %>
  -                            <img src="<%= offer.photo%>" class="media-object imgSize">
  -                        <%end%>
  -                      </a>
  +
                         <div class="media-body">
  -                        <h4 class="media-heading"><a href="#offer_<%=offer.id%>" role="button"  data-toggle="modal"><%= offer.name %></a></h4>
  -                        <h5><%=offer.start_date.strftime('%d/%m/%Y') %> / <%= offer.end_date.strftime('%d/%m/%Y')%></h5>
  -
  +                        <h5 style="text-align: center;">No posees ofertas finalizadas</h5>
                         </div><!--end media-body-->
                       </div><!--end media-->
   
  -                <% end %>
  +
  +                <% else %>
  +
  +                    <% @old_offers.each do |offer| %>
  +
  +                        <div class="media hotel-item">
  +                          <a class="pull-left" href="#">
  +                            <% unless offer.photo.nil? %>
  +                                <img src="<%= offer.photo%>" class="media-object imgSize">
  +                            <%end%>
  +                          </a>
  +                          <div class="media-body">
  +                            <h4 class="media-heading"><a href="#offer_<%=offer.id%>" role="button"  data-toggle="modal"><%= offer.name %></a></h4>
  +                            <h5><%=offer.start_date.strftime('%d/%m/%Y') %> / <%= offer.end_date.strftime('%d/%m/%Y')%></h5>
  +
  +                          </div><!--end media-body-->
  +                        </div><!--end media-->
  +
  +                    <% end %>
  +
  +                 <% end  %>
   
                 </div>
   
  
positive.code:             <div id="myTabContent" class="tab-content">
  
                <div class="tab-pane fade in active clearfix" id="all">
  
                  <% @offers.each do |offer| %>
  
                          <div class="media hotel-item">
                            <a class="pull-left" href="#offer_<%=offer.id%>">
  
negative.code:                         </div><!--end media-->
  
                      <% end %>
                      <%= paginate @offers %>
                  <%end%>
  
  
  
                </div><!--end myTabContent-->
  
                <div class="tab-pane fade" id="active">
  
                  <% if @actual_offers.empty?%>
  
                      <div class="media hotel-item">
  
                        <div class="media-body">
                          <h5 style="text-align: center;">No posees ofertas activas al momento</h5>
                        </div><!--end media-body-->
                      </div><!--end media-->
  
  
                  <% else %>
  
                      <% @actual_offers.each do |offer| %>
  
  