{{ define "repo/fragments/copyFileButton" }}
<button type="button"
    class="btn-flat"
    onclick="copyRawFile(this, '{{ .Url }}')">
    <span class="copy-icon">{{ i "copy" "size-4" }}</span>
    <span class="copy-spinner hidden">{{ i "loader-circle" "size-4 animate-spin" }}</span>
    <span class="copy-check hidden">{{ i "check" "size-4" }}</span>
</button>
{{ end }}
