{# This template renders the search form on the main page. - Differences: autocomplete result number #} {%- set keyboard = false %} {% if current_variant_options %} {% set keyboard = current_variant_options.onscreen_keyboard %} {% endif -%}
{% if keyboard %}
    {% for key in current_variant_options.onscreen_keyboard %}
  • {{ key }}
  • {% endfor %}
{% endif %}
{%- if keyboard %}
{% else -%}
{% endif -%} {# TODO: show text search only if the dictionary supports this #} {% if current_pair_settings.show_korp_search %}
{% else %} {% endif %} {% if current_pair_settings.show_korp_search %} {% endif %}
{# vim: set ts=4 sw=4 tw=0 syntax=htmljinja : #}