forked from tangled.org/core
Monorepo for Tangled — https://tangled.org
1{{ define "title" }}new issue &middot; {{ .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 hx-indicator="#spinner" 9 > 10 <div class="flex flex-col gap-4"> 11 <div> 12 <label for="title">title</label> 13 <input type="text" name="title" id="title" class="w-full" /> 14 </div> 15 <div> 16 <label for="body">body</label> 17 <textarea 18 name="body" 19 id="body" 20 rows="6" 21 class="w-full resize-y" 22 placeholder="Describe your issue. Markdown is supported." 23 ></textarea> 24 </div> 25 <div> 26 <button type="submit" class="btn flex items-center gap-2"> 27 create 28 <span id="spinner" class="group"> 29 {{ i "loader-circle" "w-4 h-4 animate-spin hidden group-[.htmx-request]:inline" }} 30 </span> 31 </button> 32 </div> 33 </div> 34 <div id="issues" class="error"></div> 35 </form> 36{{ end }}