Items can only be removed by the requester

This commit is contained in:
Benjamyn Love committed 2020-01-29 14:10:27 +11:00
1 parent 58fa1d5b22
commit b98750e169
3 files changed
+15 -3

No files matched your search

+2
View File
@@ -21,8 +21,10 @@
{% endif %}</td>
<td>
<form>
{% if data["username"] == x[3] %}
<button class="btn btn-secondary" type="submit" formaction="/post" formmethod="POST" name="rem"
value="{{x[0]}}">Remove</button>
{% endif %}
</form>
</td>
</tr>