#congressoDetalhe #cursoDetalhe .mb-3= render partial: '/pages/breadcrumbs' .container.bgWhite %header .row.align-items-top.border-left - 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" .col-sm-12.px-0 - if content.respond_to?(:sections) && content.sections.present? = 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 - if content.online_course_info.registration_phase == 'open' %h3.badge.badge-info.mb-3 Inscrição Aberta - if content.online_course_info.registration_phase == 'pre-register' %h3.badge.badge-info.mb-3 Pré-Inscrição - if content.online_course_info.registration_phase == 'closed' %h3.badge.badge-danger.mb-3 Inscrição Encerrada %dl.dt-inline - unless content.online_course_info.duration.nil? %dt Duração:  %dd= content.online_course_info.duration - unless content.online_course_info.number_of_students.nil? %dt Número de alunos por curso:  %dd= content.online_course_info.number_of_students - unless content.online_course_info.associate_price.nil? %dt Investimento associado:  %dd= "R$#{content.online_course_info.associate_price}" - unless content.online_course_info.non_associate_price.nil? %dt Investimento não associado:  %dd= "R$#{content.online_course_info.non_associate_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.online_course_info.registration_phase == 'open' = link_to 'Faça sua Inscrição', content.registration_url.to_s, class: 'btn btn-primary', target: '_blank' - if content.online_course_info.registration_phase == 'pre-register' = link_to 'Faça sua pré-inscrição', content.registration_url.to_s, class: 'btn btn-primary', target: '_blank' - if content.online_course_info.registration_phase == 'closed' %p Inscrição Encerrada .col-12 .col-12 = render '/contents/assets/social_bar', content: content .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