aboutsummaryrefslogtreecommitdiff
path: root/templates/search.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/search.tmpl')
-rw-r--r--templates/search.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/search.tmpl b/templates/search.tmpl
index 11c584a..f81c061 100644
--- a/templates/search.tmpl
+++ b/templates/search.tmpl
@@ -3,11 +3,11 @@
<div class="page-title"> Search </div>
<form class="search-form" action="/search" method="GET">
- <span class="post-form-field>
+ <span class="post-form-field">
<label for="query"> Query </label>
<input id="query" name="q" value="{{.Q | HTMLEscape}}">
</span>
- <span class="post-form-field>
+ <span class="post-form-field">
<label for="type"> Type </label>
<select id="type" name="type">
<option value="statuses" {{if eq .Type "statuses"}}selected{{end}}>Statuses</option>
@@ -23,8 +23,8 @@
{{else}}
<div class="no-data-found">No data found</div>
{{end}}
-
{{end}}
+
{{if eq .Type "accounts"}}
{{template "userlist.tmpl" (WithContext .Users $.Ctx)}}
{{end}}