diff options
author | Alan Pearce | 2024-05-09 19:27:15 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-09 19:31:36 +0200 |
commit | 830e14f372fcff094448ac8528386ab381f6f35c (patch) | |
tree | dbc0082cfc7d0791f83edc5b8ba3c82773ec67d5 /frontend/templates/blocks/search.gotmpl | |
parent | c72f8dc787379f6544739c5c57a8241a14f6d2a0 (diff) | |
download | searchix-830e14f372fcff094448ac8528386ab381f6f35c.tar.lz searchix-830e14f372fcff094448ac8528386ab381f6f35c.tar.zst searchix-830e14f372fcff094448ac8528386ab381f6f35c.zip |
refactor: pass Source object to templates
Diffstat (limited to 'frontend/templates/blocks/search.gotmpl')
-rw-r--r-- | frontend/templates/blocks/search.gotmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/templates/blocks/search.gotmpl b/frontend/templates/blocks/search.gotmpl index 0be63c1..e9d69b6 100644 --- a/frontend/templates/blocks/search.gotmpl +++ b/frontend/templates/blocks/search.gotmpl @@ -3,7 +3,7 @@ {{- define "main" }} <form id="search" action="results"> - <label for="query">{{ sourceName .Source }} option search</label> + <label for="query">{{ .Source.Name }} option search</label> <fieldset> <input id="query" name="query" type="search" value="{{ .Query }}" /> <button>Search</button> |