summaryrefslogtreecommitdiff
path: root/got/upload.got
blob: 069d9f85c1e28632795473480991d1e1c2755caf (plain)
1
2
3
4
5
6
7
8
9
10
11
<!-- -*- Mode: HTML -*- -->
<h1>{{.path | html}}</h1>
<p>Content-Type: {{.ctype | html}}</p>
<form method="POST" enctype="multipart/form-data">
  <input type="hidden" name="_method" value="PUT" />
  <input type="hidden" name="_xsrf_token" value="{{.xsrf_token | html}}">
  <p>You can't edit this type of file in your browser.  But you can
    upload a new version.</p>
  <input type="file" name="_body" required=required />
  <input type="submit" value="Upload" />
</form>