#congressoDetalhe .mb-3= render partial: '/pages/breadcrumbs' .container %article.bgWhite %header .row.align-items-end.border-left.no-gutters.mb-5 .col-12 - if content.respond_to?(:sections) && content.sections.present? = render '/contents/assets/badget_pilars', sections: content.sections .col-sm-12.col-md-9.ml-4.mt-4 %h4.text-uppercase= t("activerecord.models.#{content.type.underscore}.other") %h1.title.mt-4.mb-md-5= content.title - if content.link.present? = link_to "Acesse o site do Congresso", content.link, target: "_blank", class:"btn btn-primary btn-md" %p - if content.respond_to?(:image) && content.image.present? .col-sm-12.col-md-9 %figure .card-image= image_tag content.image_url, :alt => content.title, :class => "img-fluid", :title => 'Imagem congresso' .row .col-1 .line-top .col-11 .content = content.content.html_safe .col-12.text-center - if content.link.present? = link_to "Acesse o site do Congresso", content.link, target: "_blank", class:"btn btn-primary btn-lg" %p - if content.respond_to?(:videos) && content.videos.present? .row.video-session.align-items-end.border-left.no-gutters.mb-5 .col-12.ml-4.pt-4.mb-0 %h3.text-uppercase.mb-0 VĂ­deo(s) do congresso .row.align-items-end.no-gutters.py-4.bg - content.videos.each do |video| .col-12.col-sm-6.pr-3 %iframe{ 'src' => video, :allowfullscreen => '', :frameborder => '0', :height => '276', :width => '100%' } %footer .row .col-12 %hr.mt-4.mb-5 .col-sm-12.col-md-6 = render '/contents/assets/social_bar', content: content .col-sm-12.col-md-6.text-md-right.my-4.my-md-1 %div= link_to 'Voltar para ' + t("activerecord.models.#{content.type.underscore}.other"), congresses_path