1{{ define "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{{ end }}