summaryrefslogtreecommitdiff
path: root/talermerchantdemos/survey/templates/index.html.j2
diff options
context:
space:
mode:
Diffstat (limited to 'talermerchantdemos/survey/templates/index.html.j2')
-rw-r--r--talermerchantdemos/survey/templates/index.html.j226
1 files changed, 26 insertions, 0 deletions
diff --git a/talermerchantdemos/survey/templates/index.html.j2 b/talermerchantdemos/survey/templates/index.html.j2
new file mode 100644
index 0000000..9c9df5b
--- /dev/null
+++ b/talermerchantdemos/survey/templates/index.html.j2
@@ -0,0 +1,26 @@
+{% extends "templates/base.html.j2" %}
+{% block main %}
+ <div>
+ <p>
+ {{
+ gettext("On this page, you can participate in our survey about payment systems and receive a tip in return.")
+ }}
+ </p>
+ </div>
+ <div>
+ <form action="{{ url_for('submit_survey') }}" method="post" class="pure-form pure-form-stacked">
+ <legend>{{ gettext("Which payment system do you prefer?") }}</legend>
+ <fieldset>
+ <label for="option-taler">
+ <input id="option-taler" type="radio" name="paypref" value="taler" checked="checked" />
+ Taler
+ </label>
+ <label for="option-visa">
+ <input id="option-visa" type="radio" name="paypref" value="visa" />
+ Visa
+ </label>
+ </fieldset>
+ <input type="submit" value="{{ gettext("Submit Survey")}}" class="pure-button pure-button-primary" />
+ </form>
+ </div>
+{% endblock %}