diff options
Diffstat (limited to 'templates/explore')
-rw-r--r-- | templates/explore/code.tmpl | 2 | ||||
-rw-r--r-- | templates/explore/repo_search.tmpl | 4 | ||||
-rw-r--r-- | templates/explore/search.tmpl | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/templates/explore/code.tmpl b/templates/explore/code.tmpl index 4a1b792b05..9fa725b743 100644 --- a/templates/explore/code.tmpl +++ b/templates/explore/code.tmpl @@ -3,9 +3,9 @@ {{template "explore/navbar" .}} <div class="ui container"> <form class="ui form ignore-dirty" style="max-width: 100%"> + <input type="hidden" name="tab" value="{{$.TabName}}"> <div class="ui fluid action input"> <input name="q" value="{{.Keyword}}" placeholder="{{.i18n.Tr "explore.search"}}..." autofocus> - <input type="hidden" name="tab" value="{{$.TabName}}"> <button class="ui blue button">{{.i18n.Tr "explore.search"}}</button> </div> </form> diff --git a/templates/explore/repo_search.tmpl b/templates/explore/repo_search.tmpl index 62bb5ea3c2..0f3780177e 100644 --- a/templates/explore/repo_search.tmpl +++ b/templates/explore/repo_search.tmpl @@ -20,10 +20,10 @@ </div> </div> <form class="ui form ignore-dirty" style="max-width: 90%"> + <input type="hidden" name="tab" value="{{$.TabName}}"> + <input type="hidden" name="sort" value="{{$.SortType}}"> <div class="ui fluid action input"> <input name="q" value="{{.Keyword}}" placeholder="{{.i18n.Tr "explore.search"}}..." autofocus> - <input type="hidden" name="tab" value="{{$.TabName}}"> - <input type="hidden" name="sort" value="{{$.SortType}}"> <button class="ui blue button">{{.i18n.Tr "explore.search"}}</button> </div> </form> diff --git a/templates/explore/search.tmpl b/templates/explore/search.tmpl index 906dd06caf..ccfdf971b5 100644 --- a/templates/explore/search.tmpl +++ b/templates/explore/search.tmpl @@ -16,9 +16,9 @@ </div> </div> <form class="ui form ignore-dirty" style="max-width: 90%"> + <input type="hidden" name="tab" value="{{$.TabName}}"> <div class="ui fluid action input"> <input name="q" value="{{.Keyword}}" placeholder="{{.i18n.Tr "explore.search"}}..." autofocus> - <input type="hidden" name="tab" value="{{$.TabName}}"> <button class="ui blue button">{{.i18n.Tr "explore.search"}}</button> </div> </form> |