devyk

Untitled

Aug 17th, 2018
604
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <% hotels.each do |hotel| %>
  2.     <div class="col-md-4">
  3.       <div class="panel panel-default">
  4.         <div class="panel-heading preview">
  5.           <%= image_tag hotel.cover_photo(:medium) %>
  6.         </div>
  7.         <div class="panel-body">
  8.           <%= link_to hotel.hotel_name, hotel %><br/>
  9.           <i class="fa fa-rub" aria-hidden="true"></i><%= hotel.price %> - <%= hotel.hotel_type %> - <%= pluralize(hotel.food, "питание") %>
  10.         </div>
  11.       </div>
  12.     </div>
  13.  
  14. <% end %>
RAW Paste Data