Closed aryalsujay closed 2 years ago
Refer to the e.g. below:
{#Eg: for Table Format#}
{% if attribute(data, 'ot_01_content') %}
<table style='font-family: Arial, Helvetica, sans-serif;border-collapse: collapse;width: 100%;'><tr><th style=' background-color:#0066b2 border: 1px solid #ddd; padding: 8px;'>
<h2>Paragraph</h2></th>
<th><h2>Content</h2></th>
<th><h2>Note</h2></th>
</tr>
<tr>
<td><p><h5>{{ data.ot_01_para }}</h5></p></td>
<td><p><h5>{{ data.ot_01_content }}</h5></p></td>
<td><p><h5>{{ data.ot_01_note }}</h5></p></td>
</tr>
</table>
{% endif %}
{##}
For other fields into table also.