Relative Content

Tag Archive for pythonhtmlformsflaskjinja2

Iterate through form elements returned to python

I have a form that is populated with a list of image files that the user can delete. When the form is created, a Jinja loop iterates through the list of photo files and provides a preview of the image and a checkbox so the user can select which images to remove.