1
0
Fork 0
forked from bton/matekasse

transaction list as template

This commit is contained in:
bton 2024-06-05 21:26:17 +02:00
parent efff31aa27
commit a6dd6310b7

View file

@ -0,0 +1,10 @@
{% extends "base.html" %}
{% block title %}
Transactionlist
{% endblock %}
{% block content %}
{% for action in action_list%}
<form action="/api/change" method="post"><p style="display: inline;">{{action["statement"]}} userid:{{action["user_id"]}} {{action["before"]}} {{action["after"]}} {{action["change"]}}</p><input type="hidden" name="statement" value={{action["reverse_statement"]}}><input type="hidden" name="user_id" value={{action["reverse_user_id"]}}><input type="hidden" name="before" value={{action["reverse_before"]}}><input type="hidden" name="after" value={{action["reverse_after"]}}><input type="hidden" name="change" value={{action["reverse_change"]}}><button type="submit">rollback</button></form><br></br>
{% endfor %}
{% endblock %}