mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-01-22 12:44:25 +00:00
fix search button highlight
This commit is contained in:
parent
d9ecec44c0
commit
ef25487854
@ -1,4 +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 }}" />
|
||||||
<input {% if query is not null %}class="button-green"{% endif %} type="submit" value="{{ 'Search' | trans }}" />
|
<input {% if query %}class="button-green"{% endif %} type="submit" value="{{ 'Search' | trans }}" />
|
||||||
</form>
|
</form>
|
Loading…
x
Reference in New Issue
Block a user