diff options
author | Florian Dold <florian.dold@gmail.com> | 2018-01-18 18:32:45 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2018-01-18 18:50:48 +0100 |
commit | 62118eb9531e11c38cc6cebb1cc2f7255d755ffc (patch) | |
tree | d31df3bcead5048202a64da40306fb3fee0e4799 /talersurvey/survey/templates | |
parent | 13425b472be2b693a2847b8190185eee1b1b2710 (diff) | |
download | survey-62118eb9531e11c38cc6cebb1cc2f7255d755ffc.tar.gz survey-62118eb9531e11c38cc6cebb1cc2f7255d755ffc.tar.bz2 survey-62118eb9531e11c38cc6cebb1cc2f7255d755ffc.zip |
use new tipping API, fix various little things
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"> |