{%for kk,vv in fields.items %} {% with field_name=kk options=vv.options type=vv.type %}
  • {{field_name}}={{type}} ( {%for option in options %} {{option.name}}={{option.value}}, {%endfor%} )
  • {%endwith%} {%endfor%}