Remove empty <p>.
This commit is contained in:
parent
1ba82d6231
commit
cdbdcffa5b
1 changed files with 2 additions and 1 deletions
|
@ -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|
|
||||
|
|
Loading…
Reference in a new issue