diff --git a/template/components/content_dropdown.go b/template/components/content_dropdown.go index 1040060..78c41c7 100644 --- a/template/components/content_dropdown.go +++ b/template/components/content_dropdown.go @@ -10,6 +10,7 @@ type ContentDropdown struct { type ContentDropdownItem struct { Text string Link string + ID string IsDisabled bool IsActive bool } diff --git a/template/components/content_dropdown.html b/template/components/content_dropdown.html index ce83a26..458a423 100644 --- a/template/components/content_dropdown.html +++ b/template/components/content_dropdown.html @@ -1,5 +1,5 @@ {{define "content_dropdown_item"}} -
  • {{.Text}}
  • +
  • {{.Text}}
  • {{end}} {{define "content_dropdown"}} diff --git a/template/components/content_href.go b/template/components/content_href.go index 143ca80..99cc6be 100644 --- a/template/components/content_href.go +++ b/template/components/content_href.go @@ -3,6 +3,7 @@ package components type ContentHref struct { Text string Link string + Target string // _blank _parent _self _top Icon string IsButton bool TypeClass string // type primary, secondary, success, danger, warning, info, light, dark, link diff --git a/template/components/content_href.html b/template/components/content_href.html index f4980ac..8537874 100644 --- a/template/components/content_href.html +++ b/template/components/content_href.html @@ -1,5 +1,6 @@ {{define "content_href"}} - {{.Text}}