Merge pull request #13075 from frappe/mergify/bp/version-13-hotfix/pr-13071

fix: Added conditional rendering for content field in split section w… (backport #13071)
This commit is contained in:
Suraj Shetty 2021-05-03 09:43:36 +05:30 committed by GitHub
commit 0c71b5b4ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,9 @@
{%- endif -%}
<div class="split-section-content col-12 {{ left_col if image_on_right else right_col }} {{ align_content }}">
<h2>{{ title }}</h2>
{%- if content -%}
<p>{{ content }}</p>
{%- endif -%}
{%- if link_label and link_url -%}
<a href="{{ link_url }}">{{ link_label }}</a>