remove commented code

This commit is contained in:
ghost 2023-10-13 00:26:43 +03:00
parent ea9f7f1589
commit 4d231a799f

View File

@ -1,18 +1,4 @@
<form class="margin-t-16-px" name="search" method="get" action="{{ path('torrent_search') }}"> <form class="margin-t-16-px" name="search" method="get" action="{{ path('torrent_search') }}">
<input class="min-width-200-px" type="text" name="query" value="{{ query }}" placeholder="{{ 'Keyword, file, hash...' | trans }}" /> <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 == 'article' %}
<option value="article" selected="selected">{{ 'Articles' | trans }}</option>
{% else %}
<option value="article">{{ 'Articles' | trans }}</option>
{% endif %}
</select>
#}
<input {% if query is not null %}class="button-green"{% endif %} type="submit" value="{{ 'Search' | trans }}" /> <input {% if query is not null %}class="button-green"{% endif %} type="submit" value="{{ 'Search' | trans }}" />
</form> </form>