mirror of
https://github.com/rystaf/mlmym.git
synced 2024-11-21 13:17:13 +00:00
default search to local when specified
This commit is contained in:
parent
df33a23c7b
commit
d9faec35f9
|
@ -2,6 +2,9 @@
|
|||
<div class="{{ if .User }}user {{end}}side">
|
||||
<form method="GET" action="/{{.Host}}/search">
|
||||
<input type="text" placeholder="search" name="q" value="">
|
||||
{{- if eq .Listing "Local" }}
|
||||
<input type="hidden" placeholder="search" name="listingType" value="Local">
|
||||
{{- end }}
|
||||
{{- if .User }}
|
||||
<input type="hidden" name="username" value="{{.UserName}}">
|
||||
{{- else if .Community }}
|
||||
|
|
Loading…
Reference in a new issue