forked from
tangled.org/core
Monorepo for Tangled — https://tangled.org
1{{ define "title" }}new issue · {{ .RepoInfo.FullName }}{{ end }}
2
3{{ define "repoContent" }}
4 <form
5 hx-post="/{{ .RepoInfo.FullName }}/issues/new"
6 class="mt-6 space-y-6"
7 hx-swap="none"
8 >
9 <div class="flex flex-col gap-4">
10 <div>
11 <label for="title">title</label>
12 <input type="text" name="title" id="title" class="w-full" />
13 </div>
14 <div>
15 <label for="body">body</label>
16 <textarea
17 name="body"
18 id="body"
19 rows="6"
20 class="w-full resize-y"
21 placeholder="Describe your issue. Markdown is supported."
22 ></textarea>
23 </div>
24 <div>
25 <button type="submit" class="btn">create</button>
26 </div>
27 </div>
28 <div id="issues" class="error"></div>
29 </form>
30{{ end }}