Created
April 29, 2014 00:45
-
-
Save gorborukov/11388113 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- meta :title => @tour.seo_title, | |
- :description => @tour.seo_description, | |
- :keywords => @tour.seo_keywords | |
.content | |
.tour_column | |
.tour_block | |
.blue | |
%h3 | |
Тур «#{@tour.name}» | |
.resort | |
%h1= @tour.name | |
%p | |
%i.icon-print | |
= link_to 'Версия для печати', tours_printable_path | |
%p | |
- if @tour.hot == 1 | |
Это горящий тур | |
%p | |
%a{href: @tour.image.url(:extra), rel: "lightbox"}= image_tag @tour.image.url(:hot), :class => "hot_image img-polaroid" | |
= @tour.desc.html_safe | |
%h2 Даты тура | |
%p= @tour.interval | |
%h2 Отели тура | |
- @tour.hotels.each do |hotel| | |
%p | |
= link_to hotel.name, hotel | |
- if @tour.client_info.present? | |
%h2 Дополнительно | |
%p= @tour.client_info | |
.bottom | |
.right_column | |
= render_cell :hotels, :tour_hotels | |
= render_cell :shared, :request_tour | |
= render_cell :resorts, :resorts_short | |
= render_cell :shared, :facebook |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment