github.com/qiuhoude/go-web@v0.0.0-20220223060959-ab545e78f20d/prepare/03_form/test.gtpl (about)

     1  <!DOCTYPE html>
     2  <html lang="en">
     3  <head>
     4      <meta charset="UTF-8">
     5      <title>防止多次提交</title>
     6  </head>
     7  <body>
     8      <form action="/login4" method="post">
     9          用户名:<input type="text" name="username"><br>
    10          密&nbsp&nbsp&nbsp码:<input type="password" name="password"><br>
    11          <input type="hidden" name="token" value="{{.}}">
    12          <input type="submit" value="登陆">
    13      </form>
    14  </body>
    15  </html>