tags:

views:

20

answers:

0

Hi Guys,

I have a list of products that I want to render inside a form in a template using a for loop. My problem is that when i do the template loop, I cant get access to the product attributes the form element is relating to:

{% for field in form %}
{{ field }} 
{% endfor %}

I would like to be able to render the individual productfield-html into a string inside a product object, so I could loop through the products and render product information and the form field related to it.

Any ideas?

Jesper