dropdown, href is content

This commit is contained in:
Diana 2024-10-15 16:07:18 -05:00
parent a904773bab
commit f398ebb02d
5 changed files with 20 additions and 20 deletions

View file

@ -1,6 +0,0 @@
{{define "form_href"}}
<a class="{{if eq .IsButton true}} btn btn-{{.TypeClass}}{{end}} {{if eq .IsDisabled true}}disabled{{end}}"
href="{{.Link}}" {{if eq .IsButton true}}role="button"{{end}} {{if eq .IsDisabled true}}aria-disabled="true"{{end}}>
{{.Text}}
</a>
{{end}}