[Flask] Flask admin - add id attr to each row in module list view page

Corey Boyle coreybrett at gmail.com
Mon Sep 26 08:45:21 EDT 2016


Something like...

<table>
{% for item in items %}
<tr id="{{item.pk}}">
<td>{{item.firstname}}</td>
<td>{{item.lastname}}</td>
</tr>
{% endfor %}
</table>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/flask/attachments/20160926/71698fa5/attachment.html>


More information about the Flask mailing list