#cardCursos %a.cardGeneric.h-100{ :href => '/' + t("activerecord.models.#{content.type.underscore}.slug") + '/' + content.slug } .card.card-noimage.bgTransparent.h-100.cssColorClass - if content.image.present? = image_tag content.image_url(:thumb), :alt=>content.title,:title=>content.title,:class=>"card-img-top mx-auto mx-md-0 img-fluid" .card-body .line-top %p= t("activerecord.models.#{content.type.underscore}.one") %h2.card-title.mb-4= content.title .dl.dt-inline %p.card-text.mb-2 %span.card-text-title Duração do curso: = content.duration %p.card-text.mb-2 %span.card-text-title Número de alunos: = content.number_of_students %p.card-text.mb-2 - if content.respond_to?(:address) && content.address.present? %span.card-text-title Local: = content.address %p.card-text.mb-2 - if content.respond_to?(:date) && content.date.present? %span.card-text-title Data e hora: = content.date %p.card-text.mb-2 - if content.respond_to?(:price) && content.price.present? %span.card-text-title Investimento: = content.price %div .triangle .line-bottom