upload.gtpl 331 B

12345678910111213
  1. <html>
  2. <head>
  3. <title>Upload file</title>
  4. </head>
  5. <body>
  6. <a href="/home">home</a>
  7. <form enctype="multipart/form-data" action="upload" method="post">
  8. <input type="file" name="uploadfile" />
  9. <input type="hidden" name="token" value="{{.}}"/>
  10. <input type="submit" value="upload" />
  11. </form>
  12. </body>
  13. </html>