#congressoDetalhe #cursoDetalhe .mb-3= render partial: '/pages/breadcrumbs' .container.bgWhite %header .row.align-items-top.border-left .col-12.px-0 - if content.respond_to?(:image) && content.image.present? .col-sm-12.col-md-9 %figure .img.figure-img.img-fluid= image_tag content.image_url, :alt => content.title, :class => "img-fluid" - if content.respond_to?(:sections) && content.sections.present? .h3.badge.badge-default.px-0= render '/contents/assets/badget_pilars', sections: content.sections .col-12.ml-4.mb-3 %h3.tipo-curso.text-uppercase.my-2= t("activerecord.models.#{content.type.underscore}.one") %h1= content.title .container-fluid._curso_infos .container %summary .row.align-items-center.ml-4 .col-sm-12.px-0.py-4.align-items-center %dl.dt-inline - unless content.classroom_course_info.duration.nil? %dt Duração:  %dd= content.classroom_course_info.duration - unless content.classroom_course_info.date.nil? %dt Data de início:  %dd= content.classroom_course_info.date - unless content.classroom_course_info.number_of_students.nil? %dt Número de alunos por curso:  %dd= content.classroom_course_info.number_of_students - if content.respond_to?(:address) && content.address.present? %dt Local:  %dd= content.classroom_course_info.address - if content.respond_to?(:price) && content.price.present? %dt Investimento:  %dd= content.classroom_course_info.price .container.pt-5.bgWhite %article .row .col-1 .line-top .col-11 %h3.tipo-curso= content.content.html_safe .col-12.text-center - if content.classroom_course_info.registration_phase == 'closed' %p.btn.btn-danger "Inscrição Encerrada" .col-12 .col-12 = render '/contents/assets/social_bar', content: content .container-fluid .my-5.container.text-white#telefone .row .col-12 %p Para maiores informações entre em contato: %p = content.contact_phone_number | %a= mail_to content.contact_email.to_s, content.contact_email %p = link_to 'Faça o download do arquivo', content.details_file.to_s, class: 'btn btn-primary', target: '_blank' .container-fluid.bgWhite .container.pb-5 .row .col-12.text-right.pr-5.pt-5 %div= link_to 'voltar para ' + t("activerecord.models.#{content.type.underscore}.other"), courses_path