Skip to Content
Menu
This question has been flagged
1 Reply
4791 Views

Hi,

How we can add datas in html fields. I have added some html data in that field. It doesn't seems to be look fine.

Avatar
Discard
Best Answer

Example:


<field name="body_html"><![CDATA[

<p>

Hello ${object.name},

</p>

<p>

You have been invited to validate your email in order to get access to "${object.company_id.name}" Q/A Forums.

</p>

<p>

To validate your email, please click on the following link:

</p>

<ul>

<li><a href="${ctx.get('token_url')}">Validate my account for "${object.company_id.name}" Q/A Forums</a></li>

</ul>

<p>

Thanks,

</p>

<pre>

--

${object.company_id.name or ''}

${object.company_id.email or ''}

${object.company_id.phone or ''}

</pre>]]>


</field>

Avatar
Discard
Related Posts Replies Views Activity
0
Mar 25
968
0
Jan 25
3080
1
Aug 23
14206
1
Aug 23
12904
1
Jul 23
9957