about summary refs log tree commit diff stats
path: root/frontend/templates
diff options
context:
space:
mode:
authorAlan Pearce2024-05-09 19:27:15 +0200
committerAlan Pearce2024-05-09 19:31:36 +0200
commit830e14f372fcff094448ac8528386ab381f6f35c (patch)
treedbc0082cfc7d0791f83edc5b8ba3c82773ec67d5 /frontend/templates
parentc72f8dc787379f6544739c5c57a8241a14f6d2a0 (diff)
downloadsearchix-830e14f372fcff094448ac8528386ab381f6f35c.tar.lz
searchix-830e14f372fcff094448ac8528386ab381f6f35c.tar.zst
searchix-830e14f372fcff094448ac8528386ab381f6f35c.zip
refactor: pass Source object to templates
Diffstat (limited to 'frontend/templates')
-rw-r--r--frontend/templates/blocks/search.gotmpl2
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>