Merge pull request #10622 from demarches-simplifiees/a11y-fix-faq-page
Accessibilité: Amélioration de la page FAQ
This commit is contained in:
commit
d4a9b63b00
1 changed files with 2 additions and 1 deletions
|
@ -19,7 +19,8 @@
|
||||||
|
|
||||||
.fr-collapse{ id: "accordion-#{category}-#{index}" }
|
.fr-collapse{ id: "accordion-#{category}-#{index}" }
|
||||||
- description = t(:description, scope: [:faq, :subcategories, subcategory], default: nil) # i18n-tasks-use t("faq.subcategories.#{subcategory}.description")
|
- description = t(:description, scope: [:faq, :subcategories, subcategory], default: nil) # i18n-tasks-use t("faq.subcategories.#{subcategory}.description")
|
||||||
%p= description if description.present?
|
- if description
|
||||||
|
%p= description
|
||||||
|
|
||||||
%ul
|
%ul
|
||||||
- faqs.each do |faq|
|
- faqs.each do |faq|
|
||||||
|
|
Loading…
Reference in a new issue