Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
4855 Vistas

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
Mejor respuesta

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
Publicaciones relacionadas Respuestas Vistas Actividad
0
mar 25
1260
0
ene 25
3299
1
ago 23
14609
1
ago 23
13252
1
jul 23
10255