Hi Guys,
I have a form created from foreignkey model. I have used "include" with jinja for displaying my fields. But I don't know how to iterate through and include tag.
%
Below is the code and I would appreciate if someone can help me to iterate through following template code.
{% for field in form %}
{% include 'includes/form/form_fields.html' with form=field.myform %}
{% endfor %)
I can't get fields from the form. Please advise.
Looking forward to your feedback. :-)