~gitpocket/gitpocket

1
main
mainfeed-discovery
gitpocket/web/templates/newissue.tmpl -rw-r--r--503 bytes ViewLogBlameView rawPermalink 34c1e1bf5b feat(search): detect languages with go-enry and gitattributes overrides an hour 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}}