diff options
Diffstat (limited to 'talermerchantdemos/survey/templates/index.html')
-rw-r--r-- | talermerchantdemos/survey/templates/index.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/talermerchantdemos/survey/templates/index.html b/talermerchantdemos/survey/templates/index.html new file mode 100644 index 0000000..e58e669 --- /dev/null +++ b/talermerchantdemos/survey/templates/index.html @@ -0,0 +1,26 @@ +{% 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! <a href={{ url_for('survey_stats') }}>(survey stats)</a> + </p> + </div> + <div> + <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"> + <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="Submit Survey" class="pure-button pure-button-primary" /> + </form> + </div> +{% endblock %} |