2024-10-15 17:07:18 -04:00
|
|
|
{{define "content_href"}}
|
2024-10-12 14:01:52 -04:00
|
|
|
<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}}
|