diff options
Diffstat (limited to 'talersurvey/survey/templates')
-rw-r--r-- | talersurvey/survey/templates/base.html | 10 | ||||
-rw-r--r-- | talersurvey/survey/templates/index.html | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/talersurvey/survey/templates/base.html b/talersurvey/survey/templates/base.html index 5dbf182..e5cf03c 100644 --- a/talersurvey/survey/templates/base.html +++ b/talersurvey/survey/templates/base.html @@ -18,10 +18,10 @@ <html> <head> <title>Taler Survey Demo</title> - <link rel="stylesheet" type="text/css" href="{{ url('/static/web-common/pure.css') }}" /> - <link rel="stylesheet" type="text/css" href="{{ url('/static/web-common/demo.css') }}" /> - <script src="{{ url("/static/web-common/taler-wallet-lib.js") }}" type="application/javascript"></script> - <script src="{{ url("/static/web-common/lang.js") }}" type="application/javascript"></script> + <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='web-common/pure.css') }}" /> + <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='web-common/demo.css') }}" /> + <script src="{{ url_for('static', filename='web-common/taler-wallet-lib.js') }}" type="application/javascript"></script> + <script src="{{ url_for('static', filename='static/web-common/lang.js') }}" type="application/javascript"></script> {% block styles %}{% endblock %} {% block scripts %}{% endblock %} </head> @@ -42,7 +42,7 @@ </div> <section id="main" class="content"> - <a href="{{ url("/") }}"> + <a href="{{ url_for('index') }}"> <div id="logo"> <svg height="100" width="100"> <circle cx="50" cy="50" r="40" stroke="darkcyan" stroke-width="6" fill="white" /> diff --git a/talersurvey/survey/templates/index.html b/talersurvey/survey/templates/index.html index 1799abd..f40c235 100644 --- a/talersurvey/survey/templates/index.html +++ b/talersurvey/survey/templates/index.html @@ -8,7 +8,7 @@ </p> </div> <div> - <form action="{{ url('/submit-survey') }}" method="post" class="pure-form pure-form-stacked"> + <form action="{{ url_for('submit_survey') }}" method="post" class="pure-form pure-form-stacked"> <legend>What do you prefer?</legend> <fieldset> <label for="option-taler"> |