Remove empty <p>.

This commit is contained in:
Corinne Durrmeyer 2024-07-18 12:04:17 +02:00
parent 1ba82d6231
commit cdbdcffa5b
No known key found for this signature in database
GPG key ID: DDC049DDA35585B6

View file

@ -19,7 +19,8 @@
.fr-collapse{ id: "accordion-#{category}-#{index}" }
- 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
- faqs.each do |faq|