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}}