this repo has no description
1{{ define "repo/fragments/editRepoDescription" }}
2 <form
3 hx-put="/{{ .RepoInfo.FullName }}/description"
4 hx-target="this"
5 hx-swap="outerHTML"
6 class="flex flex-wrap gap-2">
7 <input
8 type="text"
9 class="p-1"
10 name="description"
11 value="{{ .RepoInfo.Description }}" />
12 <button
13 type="submit"
14 class="btn p-1 flex items-center gap-2 no-underline text-sm">
15 {{ i "check" "w-3 h-3" }} save
16 </button>
17 <button
18 type="button"
19 class="btn p-1 flex items-center gap-2 no-underline text-sm"
20 hx-get="/{{ .RepoInfo.FullName }}/description">
21 {{ i "x" "w-3 h-3" }} cancel
22 </button>
23 </form>
24{{ end }}