plone - Plone 4.0:FormGen Mailer 模板字段
问题描述
我正在自定义一个表单邮件模板,并希望我的电子邮件模板中的字段按其字段集分组,并且还包括字段集标题。那有可能吗?先感谢您。我是 Plone 的新用户。我目前的模板是:
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title></title></head>
<body>
<p tal:content="here/getBody_pre | nothing" />
<table border="0" cellpadding="5" cellspacing="0" width="600" style="-webkit-text-size-adjust: none;">
<tal:block repeat="field options/wrappedFields | nothing">
<tr style="border-bottom-width: 1px; border-bottom-style:solid; border-bottom-color: black;">
<td>
<tal:first tal:content="field/fgField/widget/label" />: <tal:second tal:content="structure python:field.htmlValue(request)" />
</td>
</tr>
</tal:block>
</table>
<p tal:content="here/getBody_post | nothing" />
<pre tal:content="here/getBody_footer | nothing" />
</body>
</html>
解决方案
推荐阅读
- mongodb - Firebase 发送标头中带有“孩子”的 JWT 令牌。如何在 MongoDB Stitch 中使用“孩子”值验证 JWT?
- java - Java Swing HiDPI 缩放
- r - 创建一组分组值(均值)
- xcode - 在 Xcode 模拟器上进行 NodeJS 测试
- neo4j - 使用 Kubernetes Ingress 暴露 Neo4j Bolt
- powershell - PowerShell 中的调试器语句
- javascript - Can't create new angular file
- javascript - How to generate different random number not identical?
- java - 错误:只有创建视图层次结构的原始线程才能接触其视图
- java - Javers - org.javers.common.exception.JaversException:MANAGED_CLASS_MAPPING_ERROR:给定 javaClass 映射到 ValueObjectType,预期 EntityType