{# This template renders the search form on the main page. #} {% block template_doc %}{% if TEMPLATE_DOC %} Customizations here: - last searches - custom search method alterations (supplying custom search_form_actions to word entry form) {% endif %}{% endblock %} {%- 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 %} {# TODO: KeywordSearch this change will need ot be passed up to the parent template at some point#}
{%- 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 %}
{% if last_searches %} {% endif %}
{# vim: set ts=4 sw=4 tw=0 syntax=htmljinja : #}