summaryrefslogtreecommitdiffstats
path: root/templates/shared/search/button.tmpl
blob: 7bb1662e1532a340f2355cb6f52bbe612d335085 (plain)
1
2
3
{{/* Disable (optional) - if search button has to be disabled */}}
{{/* Tooltip (optional) - a tooltip to be displayed on hover */}}
<button class="ui small icon button" aria-label="{{ctx.Locale.Tr "search.search"}}" {{with .Tooltip}}data-tooltip-content="{{.}}"{{end}}{{if .Disabled}} disabled{{end}}>{{svg "octicon-search"}}</button>