app/views/tramway/event/events/show.html.haml in tramway-event-1.1 vs app/views/tramway/event/events/show.html.haml in tramway-event-1.2

- old
+ new

@@ -1,11 +1,9 @@ - content_for :title do = @event.title - content_for :body_content do = stylesheet_link_tag 'tramway/event/events/show' - - - if params[:flash] == 'success' .alert.alert-success{role: "alert"} %button.close{"aria-label" => "Close", "data-dismiss" => "alert", type: "button"} %span{"aria-hidden" => "true"} × %h4.alert-heading Заявка успешно отправлена! @@ -27,8 +25,13 @@ Если ошибка повторяется или не отображается, обращайтесь по телефону = tel_tag '+79278023244' или пишите на email = mail_to 'kalashnikov@ulmic.ru' = render 'tramway/landing/blocks/templates/full_page', block: @event, buttons: [] - = render 'tramway/landing/blocks/templates/features_list', block: OpenStruct.new(title: "Направления IT Way'18", description: "Вы можете выбрать любое из направлений", anchor: :features), collection: @sections - .container - = render 'tramway/event/participants/form' + %main + .container + = render 'tramway/landing/blocks/templates/features_list', block: OpenStruct.new(title: "Направления IT Way'18", description: "Вы можете выбрать любое из направлений", anchor: :features), collection: @sections_as_features + %hr + = render 'tramway/event/participants/form' + %hr + - @sections.each do |section| + = render 'tramway/landing/blocks/templates/section_with_image_and_text', block: section