summaryrefslogtreecommitdiff
path: root/talersurvey/survey/templates/index.html
diff options
context:
space:
mode:
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 %}