mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-23 11:29:31 +00:00
Use relative path in templates instead of full pathes
This fixes problems with HTTP/HTTPS mixing
This commit is contained in:
parent
4c4b610daa
commit
92e477775a
9 changed files with 14 additions and 14 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{% import "components/datatables.macro.html.twig" as datatables %}
|
||||
|
||||
<form method="post" action="{{ url("log_undo") }}"
|
||||
<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 %}">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue