summaryrefslogtreecommitdiff
path: root/talersurvey/survey/templates/index.html
blob: ffd8f61a1c9eeb25955a04d55e4a50c536b2d5b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{% 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 class="taler-installed-hide">
    <p>The survey is not possible without the wallet;
       please <a href="https://taler.net/wallet-installation.html">install one!</a></p>
  </div>
  <div class="taler-installed-show">
    <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 %}