File: index.html

package info (click to toggle)
flask-wtf 1.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 428 kB
  • sloc: python: 1,313; makefile: 22; sh: 10
file content (19 lines) | stat: -rw-r--r-- 402 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>

<html>
  <body>
    <p><a href="?lang=zh">zh</a> <a href="?lang=en">en</a></p>
    <form method="POST">
      {{ form.hidden_tag() }}
      {% for error in form.name.errors %}
      <p>{{ error }}</p>
      {% endfor %}
      <p>
        {{ form.name.label }} {{ form.name() }}
      </p>
      <p>
        <input type="submit" value="Submit">
      </p>
    </form>
  </body>
</html>