Suche: HTMX + Webseite

This commit is contained in:
Simon Martens
2025-02-18 00:33:30 +01:00
parent fd2fa157b2
commit 7aac147686
18 changed files with 348 additions and 69 deletions

View File

@@ -0,0 +1,22 @@
{{ $model := .model }}
<div id="results">
{{ range $i, $agent := $model.Agents.Items }}
<div>
{{ $agent.String }}
</div>
{{ end }}
{{ range $i, $work := $model.Works.Items }}
<div>
{{ $work.String }}
</div>
{{ end }}
{{ range $i, $place := $model.Places.Items }}
<div>
{{ $place.String }}
</div>
{{ end }}
</div>