phpcomposeryggdrasilbittorrentjs-lesssphinxalt-websymfonydistributedsocial-networkcatalogtorrentmagnetwikitrackerfederatedsqlite
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
787 B
16 lines
787 B
<form class="margin-t-8-px" name="search" method="get" action="{{ path('search_index') }}"> |
|
<input class="min-width-200-px" type="text" name="query" value="{{ query }}" placeholder="{{ 'Keyword, file, hash...' | trans }}" /> |
|
<select name="type"> |
|
{% if type == 'torrent' %} |
|
<option value="torrent" selected="selected">{{ 'Torrents' | trans }}</option> |
|
{% else %} |
|
<option value="torrent">{{ 'Torrents' | trans }}</option> |
|
{% endif %} |
|
{% if type == 'page' %} |
|
<option value="page" selected="selected">{{ 'Pages' | trans }}</option> |
|
{% else %} |
|
<option value="page">{{ 'Pages' | trans }}</option> |
|
{% endif %} |
|
</select> |
|
<input type="submit" value="{{ 'Search' | trans }}" /> |
|
</form> |