diff options
Diffstat (limited to 'templates/timeline.tmpl')
-rw-r--r-- | templates/timeline.tmpl | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/templates/timeline.tmpl b/templates/timeline.tmpl index b3421ba..eb7571b 100644 --- a/templates/timeline.tmpl +++ b/templates/timeline.tmpl @@ -5,8 +5,18 @@ {{if eq .Type "remote"}} <form action="/timeline/remote" method="GET"> <span> - <label for="instance"> Instance </label> - <input type="text" id="instance" name="instance" value="{{.Instance}}"> + <label for="q"> Instance </label> + <input type="text" id="q" name="q" value="{{.Q}}"> + </span> + <button type="submit"> Submit </button> +</form> +{{end}} + +{{if eq .Type "hashtag"}} +<form action="/timeline/hashtag" method="GET"> + <span> + <label for="q"> Tag </label> + <input type="text" id="q" name="q" value="{{.Q}}"> </span> <button type="submit"> Submit </button> </form> |