26 lines
1.2 KiB
HTML
26 lines
1.2 KiB
HTML
{#{% set tags = h.get_facet_items_dict('tags', limit=3) %}#}
|
|
{% set placeholder = _('Insert keywords here') %}
|
|
|
|
<div class="module module-search module-narrow module-shallow box">
|
|
<form class="module-content search-form" method="get" action="{% url_for controller='package', action='search' %}">
|
|
<h3 class="heading">{{ _('Datasets') }} Search</h3>
|
|
<div class="search-input control-group search-giant">
|
|
<input type="text" class="search" name="q" value="" autocomplete="off" placeholder="{% block search_placeholder %}{{ placeholder }}{% endblock %}" />
|
|
<button type="submit" title="Search">
|
|
<i class="icon-search"></i>
|
|
<span>{{ _('Search') }}</span>
|
|
</button>
|
|
</div>
|
|
<div>
|
|
<a href="{{ h.url_for(controller='package', action='search') }}">See All {{ _('Datasets') }}</a>
|
|
<a href="/tag" style="float: right;">See All {{ _('Tags') }}</a>
|
|
</div>
|
|
</form>
|
|
<!-- <div class="tags">
|
|
<h3>{{ _('Popular tags') }}</h3>
|
|
{% for tag in tags %}
|
|
<a class="tag" href="{% url_for controller='package', action='search', tags=tag.name %}">{{ h.truncate(tag.display_name, 22) }}</a>
|
|
{% endfor %}
|
|
</div>-->
|
|
</div>
|