diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-11-02 23:37:00 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-11-02 23:37:00 -0400 |
commit | 9c4b8766cbdc2a4c63a03292b58cf35d981e1321 (patch) | |
tree | aa84619601ff14e7ea86b1147827f24a6fa82fa0 /got/view_blob.got | |
parent | 85db279e33804c118b019c5f1e7666798df3e1f5 (diff) |
simplemde
Diffstat (limited to 'got/view_blob.got')
-rw-r--r-- | got/view_blob.got | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/got/view_blob.got b/got/view_blob.got index 1a3c4cd..95692b0 100644 --- a/got/view_blob.got +++ b/got/view_blob.got @@ -7,7 +7,7 @@ <textarea name="_body">{{.content | html }}</textarea> <label> Description of change: - <input type="text" value="_message" /> + <input type="text" name="_message" /> </label> <input type="submit" value="Save"> </form> @@ -20,15 +20,18 @@ <input type="file" name="_body" required=required> <label> Description of change: - <input type="text" value="_message" /> + <input type="text" name="_message" /> </label> <input type="submit" value="Upload"> </form> <form method="POST" enctype="multipart/form-data"> <input type="hidden" name="_method" value="DELETE"> <label> - Description of change: - <input type="text" value="_message" /> + Reason for deletion: + <input type="text" name="_message" /> </label> <input type="submit" value="Delete"> </form> +{{if eq .ctype "text/markdown"}} +<script src="/static/mde.js"></script> +{{end}} |