{{ define "repo/settings/fragments/addLabelDefModal" }}

Labels can have a name and a value. Set the value type to "none" to create a simple label.

{{ i "square-plus" "w-4 h-4" }} Constrain values

Enter comma-separated list of permitted values.

{{ $colors := list "#ef4444" "#3b82f6" "#10b981" "#f59e0b" "#8b5cf6" "#ec4899" "#06b6d4" "#64748b" }} {{ range $i, $color := $colors }} {{ end }}
Allow multiple values
{{ end }}