summaryrefslogtreecommitdiff
path: root/talermerchantdemos
diff options
context:
space:
mode:
Diffstat (limited to 'talermerchantdemos')
-rw-r--r--talermerchantdemos/templates/common-base.html.j22
-rw-r--r--talermerchantdemos/templates/survey-index.html.j22
2 files changed, 2 insertions, 2 deletions
diff --git a/talermerchantdemos/templates/common-base.html.j2 b/talermerchantdemos/templates/common-base.html.j2
index fd5a371..2a6be8c 100644
--- a/talermerchantdemos/templates/common-base.html.j2
+++ b/talermerchantdemos/templates/common-base.html.j2
@@ -63,7 +63,7 @@
<br>
{% for lang_code, lang_display in all_languages.items() %}
{% if lang_code != getlang() %}
- <a href="/{{ lang_code }}/" class="navbtn langbtn">{{ lang_display }}</a>
+ <a href="{{ script_name }}/{{ lang_code }}/" class="navbtn langbtn">{{ lang_display }}</a>
<br>
{% endif %}
{% endfor %}
diff --git a/talermerchantdemos/templates/survey-index.html.j2 b/talermerchantdemos/templates/survey-index.html.j2
index d860573..0d0f87a 100644
--- a/talermerchantdemos/templates/survey-index.html.j2
+++ b/talermerchantdemos/templates/survey-index.html.j2
@@ -8,7 +8,7 @@
</p>
</div>
<div>
- <form action="{{ "/" + getlang() + "/submit-survey" }}" method="post" class="pure-form pure-form-stacked">
+ <form action="{{ script_name + "/" + getlang() + "/submit-survey" }}" method="post" class="pure-form pure-form-stacked">
<legend>{{ gettext("Which payment system do you prefer?") }}</legend>
<fieldset>
<label for="option-taler">