Iterate Over Python Dictionary Using TAL in Plone
How to iterate over a Python dictionary in Plone using a tal:repeat statement
The following code will take a form POST request (dictionary) and iterate over it to display each field and value in a definition list (<dl />).
<div tal:define="form python:context.REQUEST.form">
<dl>
<tal:block tal:repeat="field form">
<dt tal:content="field" />
<dd tal:content="python:form[field]" />
</tal:block>
</dl>
</div>