Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <% hotels.each do |hotel| %>
- <div class="col-md-4">
- <div class="panel panel-default">
- <div class="panel-heading preview">
- <%= image_tag hotel.cover_photo(:medium) %>
- </div>
- <div class="panel-body">
- <%= link_to hotel.hotel_name, hotel %><br/>
- <i class="fa fa-rub" aria-hidden="true"></i><%= hotel.price %> - <%= hotel.hotel_type %> - <%= pluralize(hotel.food, "питание") %>
- </div>
- </div>
- </div>
- <% end %>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement