{% extends "wagtailadmin/base.html" %}
{% load i18n %}
{% block titletag %}{% trans "Search Terms" %}{% endblock %}
{% block bodyclass %}menu-editorspicks{% endblock %}

{% block extra_js %}
    <script>
        window.headerSearch = {
            url: "{% url 'wagtailsearch_editorspicks_index' %}",
            termInput: "#id_q",
            targetOutput: "#editorspicks-results"
        }
    </script>
{% endblock %}

{% block content %}
    {% trans "Editor's search picks" as sp_title_str %}
    {% trans "Add new editor's pick" as sp_text_str %}
    {% include "wagtailadmin/shared/header.html" with title=sp_title_str add_link="wagtailsearch_editorspicks_add" icon="pick" add_text=sp_text_str search_url="wagtailsearch_editorspicks_index" %}

     <div class="nice-padding">
        <div id="editorspicks-results" class="redirects">
            {% include "wagtailsearch/editorspicks/results.html" %}
        </div>
    </div>
{% endblock %}