this repo has no description
1{{ define "title" }}new pull | {{ .RepoInfo.FullName }}{{ end }}
2
3{{ define "repoContent" }}
4 <form
5 hx-post="/{{ .RepoInfo.FullName }}/pulls/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
14 <label for="targetBranch">target branch</label>
15 <p class="text-gray-500">
16 The branch you want to make your change against.
17 </p>
18 <input type="text" name="targetBranch" id="targetBranch" />
19 </div>
20 <div>
21 <label for="body">body</label>
22 <textarea
23 name="body"
24 id="body"
25 rows="6"
26 class="w-full resize-y"
27 placeholder="Describe your change. Markdown is supported."
28 ></textarea>
29
30 <div class="mt-4">
31 <label for="patch">paste your patch here</label>
32 <textarea
33 name="patch"
34 id="patch"
35 rows="10"
36 class="w-full resize-y font-mono"
37 placeholder="Paste your git-format-patch output here."
38 ></textarea>
39 </div>
40 </div>
41 <div>
42 <button type="submit" class="btn">create</button>
43 </div>
44 </div>
45 <div id="pull" class="error"></div>
46 </form>
47{{ end }}