Use relative path in templates instead of full pathes

This fixes problems with HTTP/HTTPS mixing
This commit is contained in:
Jan Böhmer 2022-08-04 21:00:42 +02:00
parent 4c4b610daa
commit 92e477775a
9 changed files with 14 additions and 14 deletions

View file

@ -1,4 +1,4 @@
<form action="{{ url('parts_search') }}" class="d-flex my-lg-0 ms-auto" method="get">
<form action="{{ path('parts_search') }}" class="d-flex my-lg-0 ms-auto" method="get">
<div class="dropdown">
<button class="btn btn-light dropdown-toggle my-2" type="button" id="navbar-search-options" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" data-bs-auto-close="false">
{% trans %}search.options.label{% endtrans %}