Part-DB.Part-DB-server/templates/LogSystem/_log_table.html.twig
Jan Böhmer 92e477775a Use relative path in templates instead of full pathes
This fixes problems with HTTP/HTTPS mixing
2022-08-04 21:00:42 +02:00

11 lines
No EOL
526 B
Twig

{% import "components/datatables.macro.html.twig" as datatables %}
<form method="post" action="{{ path("log_undo") }}"
{{ stimulus_controller('elements/delete_btn') }} {{ stimulus_action('elements/delete_btn', "submit", "submit") }}
data-delete-title="{% trans %}log.undo.confirm_title{% endtrans %}"
data-delete-message="{% trans %}log.undo.confirm_message{% endtrans %}">
<input type="hidden" name="redirect_back" value="{{ app.request.uri }}">
{{ datatables.logDataTable(datatable) }}
</form>