Skip to Content
Menú
This question has been flagged
1 Respondre
4851 Vistes

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
Descartar
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
Descartar
Related Posts Respostes Vistes Activitat
0
de març 25
1252
0
de gen. 25
3295
1
d’ag. 23
14591
1
d’ag. 23
13250
1
de jul. 23
10250