{% extends template.self %}

{% block search_input %}
<div id="book-search-input" role="search">
    <input type="text" placeholder="{{ 'SEARCH_PLACEHOLDER'|t }}" />
</div>
{% endblock %}

{% block search_results %}
<div id="book-search-results">
    <div class="search-noresults">
    {{ super() }}
    </div>
    <div class="search-results">
        <div class="has-results">
            <h1 class="search-results-title">{{ 'SEARCH_RESULTS_TITLE'|t|safe }}</h1>
            <ul class="search-results-list"></ul>
        </div>
        <div class="no-results">
            <h1 class="search-results-title">{{ 'SEARCH_NO_RESULTS_TITLE'|t|safe }}</h1>
        </div>
    </div>
</div>
{% endblock %}
{% extends template.self %}

{% block search_input %}
<div id="book-search-input" role="search">
    <input type="text" placeholder="{{ 'SEARCH_PLACEHOLDER'|t }}" />
</div>
{% endblock %}

{% block search_results %}
<div id="book-search-results">
    <div class="search-noresults">
    {{ super() }}
    </div>
    <div class="search-results">
        <div class="has-results">
            {% block search_has_results %}
            <h1 class="search-results-title">{{ 'SEARCH_RESULTS_TITLE'|t|safe }}</h1>
            <ul class="search-results-list"></ul>
            {% endblock %}
        </div>
        <div class="no-results">
            {% block search_no_results %}
            <h1 class="search-results-title">{{ 'SEARCH_NO_RESULTS_TITLE'|t|safe }}</h1>
            {% endblock %}
        </div>
    </div>
</div>
{% endblock %}
Add search_has_results and search_no_results blocks for better customization
Add search_has_results and search_no_results blocks for better customization
