summaryrefslogtreecommitdiff
path: root/talersurvey/survey/templates/index.html
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2017-11-20 13:26:28 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2017-11-20 13:26:28 +0100
commitf1b5b52ca7cf7be99b64b031ca5d8a52e5228754 (patch)
tree6da566fbf699fe29736ed23b3ac809d6b157fe15 /talersurvey/survey/templates/index.html
parent8d156e4e067e4917c56b168b7ae5d49170862bc0 (diff)
downloadsurvey-f1b5b52ca7cf7be99b64b031ca5d8a52e5228754.tar.gz
survey-f1b5b52ca7cf7be99b64b031ca5d8a52e5228754.tar.bz2
survey-f1b5b52ca7cf7be99b64b031ca5d8a52e5228754.zip
showing the homepage
Diffstat (limited to 'talersurvey/survey/templates/index.html')
-rw-r--r--talersurvey/survey/templates/index.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/talersurvey/survey/templates/index.html b/talersurvey/survey/templates/index.html
new file mode 100644
index 0000000..f842d6a
--- /dev/null
+++ b/talersurvey/survey/templates/index.html
@@ -0,0 +1,25 @@
+{% extends "templates/base.html" %}
+
+{% block main %}
+ <div>
+ <p>
+ In this page, you can participate in our survey about payment systems
+ and get a nice tip - via your Taler wallet - from this shop!
+ </p>
+ </div>
+ <div>
+ <form action="{{ url('/survey') }}" method="post">
+ {% if success %}
+ <strong>Congratulations, your reward has been successfully submitted!</strong>
+ {% endif %}
+ What do you prefer?<br>
+ <input type="radio" name="paypref" value="taler">
+ <label>Taler</label>
+ </input>
+ <input type="radio" name="paypref" value="visa">
+ <label>Visa</label>
+ </input><br>
+ <input type="submit" value="Submit"></input>
+ </form>
+ </div>
+{% endblock %}