birzha/plugins/janvince/smallcontactform/views/mail/notification.htm

72 lines
920 B
HTML

subject = "Contact form notification"
==
Hello,
this is a notification from a Contact form.
{% if fields|length %}
Sent form content:
<table border="0">
<tbody>
{% for key,value in fields %}
<tr>
<th style="vertical-align: top; text-align: left; padding-right: 10px;">{{ key|upper }}</th>
<td style="text-align: left;">{{ value|raw|nl2br }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
Best regards,
Contact form
==
<p>Hello,</p>
<p>this is a notification from a Contact form.</p>
{% if fields|length %}
<br>
<p>Sent form content:</p>
<table border="0">
<tbody>
{% for key,value in fields %}
<tr>
<th style="vertical-align: top; text-align: left; padding-right: 10px;">{{ key|upper }}</th>
<td style="text-align: left;">{{ value|raw|nl2br }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
<br>
<p>Best regards,<br>
Contact form</p>