demarches-normaliennes/app/views/faq/show.html.haml

14 lines
524 B
Text
Raw Permalink Normal View History

2024-04-22 16:42:12 +02:00
- content_for(:title, @metadata[:title])
.fr-container.fr-my-4w
2024-03-12 17:18:18 +01:00
2024-04-22 16:42:12 +02:00
.fr-grid-row
.fr-col-12.fr-col-md-4
= render partial: "sidebar", locals: { faqs: @siblings, current: @metadata }
2024-03-12 17:18:18 +01:00
.fr-col-12.fr-col-md-8
-# i18n-tasks-use t("faq.categories.#{@metadata[:category]}.short_name")
2024-03-12 17:18:18 +01:00
= render partial: "breadcrumb", locals: { faq_title: "#{t(:short_name, scope: [:faq, :categories, @metadata[:category]])} : #{@metadata[:title]}" }
2024-03-12 16:49:49 +01:00
.markdown-content
= @renderer.render(@content).html_safe