blob: 3fcdd2361c4fcc2fbed62f43dd33ac3248caddbc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<!-- -*- 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}}">
<textarea name="_body">{{.content | html }}</textarea>
<input type="submit" value="Save">
</form>
<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>Instead of editing this in your browser, you can just upload a new copy.</p>
<input type="file" name="_body" required=required>
<input type="submit" value="Upload">
</form>
|