forked from goffee/core
dropdown, href is content
This commit is contained in:
parent
a904773bab
commit
f398ebb02d
5 changed files with 20 additions and 20 deletions
6
template/components/content_href.html
Normal file
6
template/components/content_href.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{{define "content_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}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue