diff options
Diffstat (limited to 'got/view_blob.got')
-rw-r--r-- | got/view_blob.got | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/got/view_blob.got b/got/view_blob.got index 63039f2..1a3c4cd 100644 --- a/got/view_blob.got +++ b/got/view_blob.got @@ -1,7 +1,7 @@ <!-- -*- Mode: HTML -*- --> <h1>{{.path | html}}</h1> <p>Content-Type: {{.ctype | html}}</p> -{{if hasprefix .ctype "text/"}} +{{if istext .ctype}} <form method="POST" enctype="multipart/form-data"> <input type="hidden" name="_method" value="PUT"> <textarea name="_body">{{.content | html }}</textarea> |