aboutsummaryrefslogtreecommitdiff
path: root/templates/search.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/search.tmpl')
-rw-r--r--templates/search.tmpl30
1 files changed, 14 insertions, 16 deletions
diff --git a/templates/search.tmpl b/templates/search.tmpl
index acbfbdd..96548b5 100644
--- a/templates/search.tmpl
+++ b/templates/search.tmpl
@@ -3,22 +3,20 @@
{{template "navigation.tmpl" (WithContext .NavbarData $.Ctx)}}
<div class="page-title"> Search </div>
-<div>
- <form action="/search" method="GET">
- <span class="post-form-field>
- <label for="query"> Query </label>
- <input id="query" name="q" value="{{.Q}}">
- </span>
- <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>
- <option value="accounts" {{if eq .Type "accounts"}}selected{{end}}>Accounts</option>
- </select>
- </span>
- <button type="submit"> Search </button>
- </form>
-</div>
+<form class="search-form" action="/search" method="GET">
+ <span class="post-form-field>
+ <label for="query"> Query </label>
+ <input id="query" name="q" value="{{.Q}}">
+ </span>
+ <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>
+ <option value="accounts" {{if eq .Type "accounts"}}selected{{end}}>Accounts</option>
+ </select>
+ </span>
+ <button type="submit"> Search </button>
+</form>
{{if eq .Type "statuses"}}
{{range .Statuses}}