User can delete the image they uploaded
This commit is contained in:
@@ -58,13 +58,15 @@
|
||||
<th>Image ID</th>
|
||||
<th>Timestamp</th>
|
||||
<th>Image Name</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
{% for image_id, timestamp, image_name in images %}
|
||||
{% for image_id, timestamp, image_name, act in images %}
|
||||
<tr>
|
||||
<td> {{ image_id }} </td>
|
||||
<td> {{ timestamp }} </td>
|
||||
<td> {{ image_name }} </td>
|
||||
<td><a href={{act}}>Delete</a></td>
|
||||
</tr>
|
||||
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user