forked from tangled.org/core
this repo has no description
at file-tree 905 B view raw
1{{ define "repo/pulls/fragments/pullCompareBranches" }} 2 <div id="patch-upload"> 3 <label for="targetBranch" class="dark:text-white" 4 >select a branch</label 5 > 6 <div class="flex flex-wrap gap-2 items-center"> 7 <select 8 name="sourceBranch" 9 class="p-1 border border-gray-200 bg-white dark:bg-gray-700 dark:text-white dark:border-gray-600" 10 > 11 <option disabled selected>source branch</option> 12 {{ range .Branches }} 13 <option value="{{ .Reference.Name }}" class="py-1"> 14 {{ .Reference.Name }} 15 </option> 16 {{ end }} 17 </select> 18 </div> 19 </div> 20 21 <p class="mt-4"> 22 Title and description are optional; if left out, they will be extracted 23 from the first commit. 24 </p> 25{{ end }}