~gitpocket/gitpocket

4
71605f7beac511446766dcef682558300e2bd8df
mainfeed-discovery
gitpocket/templates/newissue.html -rw-r--r--503 bytes ViewLogBlameView rawPermalink a6b5bf4fe7 feat(markdown): image attachments and preview 8 days ago
1
2
3
4
5
6
7
8
9
{{define "content"}}
{{$p := .Data.Page}}
<h3>New issue</h3>
<form method="post" action="/{{$p.Repo.Path}}/issues/new" class="stack wide">
<label>Title <input name="title" required autofocus maxlength="200" value="{{.Data.IssueTitle}}"></label>
<label>Description <textarea name="body" rows="10" placeholder="Markdown supported, paste or drop images to attach them" data-md>{{.Data.Body}}</textarea></label>
<div class="actions"><button class="btn primary">Open issue ▸</button></div>
</form>
{{end}}