Hello i have this: {% for fieldi in formone %} {{ fieldi.label }} {{ fieldi }} {% if forloop.counter|divisibleby:"2" %} <br><br> {% endif %} {% endfor %} <br><br>
i need to add: {% for fieldi in formone and for or x in lista_form %} { % if forloop.counter < 100 %} Immagine <input type="file" name="{{ x }}" id="id_immagine"> {% endif %} {{ fieldi.label }} {{ fieldi }} {% if forloop.counter|divisibleby:"2" %} <br><br> {% endif %} {% endfor %} {% endfor %} <br><br> {% for x in lista_form %} {% if forloop.counter < 100 %} Immagine <input type="file" name="{{ x }}" id="id_immagine"> {% endif %} {% endfor %} -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b68ff59f-a229-4a08-8b36-ba811c96e4c6n%40googlegroups.com.