app/views/tramway/event/events/_show_page.html.haml in tramway-event-1.8.6 vs app/views/tramway/event/events/_show_page.html.haml in tramway-event-1.8.7
- old
+ new
@@ -22,20 +22,21 @@
Если ошибка повторяется или не отображается, обращайтесь по телефону
= tel_tag '+79278023244'
или пишите на email
= mail_to 'kalashnikov@ulmic.ru'
- if request.path == ::Tramway::Event::Engine.routes.url_helpers.event_path(event.id)
- = render 'tramway/landing/blocks/templates/full_page', block: event, buttons: []
+ = render 'tramway/landing/blocks/templates/full_page', block: event, buttons: [OpenStruct.new(title: t('.registration'), anchor: '#registration')]
%main
.container
-#= render 'tramway/landing/blocks/templates/features_list', block: OpenStruct.new(title: "Направления IT Way'18", description: "Вы можете выбрать любое из направлений", anchor: :features), collection: sections_as_features
= render 'tramway/landing/blocks/templates/features_list', collection: sections_as_features
%br
.row
.col
!= event.description
%hr
- = render 'tramway/event/participants/form', event: event
+ #registration
+ = render 'tramway/event/participants/form', event: event
%br
- sections.each_with_index do |section, index|
= render 'tramway/event/sections/show_page', section: section
- if index < sections.count - 1
%br