forked from tangled.org/core
this repo has no description
at file-tree 605 B view raw
1{{ define "repo/fragments/editRepoDescription" }} 2<form hx-put="/{{ .RepoInfo.FullName }}/description" hx-target="this" hx-swap="outerHTML" class="flex flex-wrap gap-2"> 3 <input type="text" class="p-1" name="description" value="{{ .RepoInfo.Description }}"> 4 <button type="submit" class="btn p-1 flex items-center gap-2 no-underline text-sm"> 5 {{ i "check" "w-3 h-3" }} save 6 </button> 7 <button type="button" class="btn p-1 flex items-center gap-2 no-underline text-sm" hx-get="/{{ .RepoInfo.FullName }}/description" > 8 {{ i "x" "w-3 h-3" }} cancel 9 </button> 10</form> 11{{ end }}