~gitpocket/gitpocket

5
3895cc2cc2294a3a0ad6d548f7ae5156a93d65e4
mainfeed-discovery
gitpocket/web/templates/newissue.tmpl -rw-r--r--503 bytes ViewLogBlameView rawPermalink 9f09731071 feat(search): detect languages with go-enry and gitattributes overrides 19 hours 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}}