{% extends "core/base.html" %} {% load hooks %} {% load i18n %} {% load foundation %} {% hook 'filter_search' %} {% block page_title %}{% trans "Search" %}{% endblock %} {% block title %}{% trans "Search" %}{% endblock %} {% block body %}
{% if search_term %}

Searching for: {{ search_term }}

{% elif keyword %}

Keyword: {{ keyword }}

{% else %}

{% trans 'Article Search Results' %}

{% endif %}
{% for article in articles %} {% include "elements/journal/box_article.html" with article=article %} {% empty %}

{% trans 'No articles to display' %}.

{% endfor %} {% if articles %} {% include "elements/pagination.html" with form_id=form.id %} {% endif %}

{% blocktrans count result_count=page_obj.paginator.count %} 1 result {% plural %} {{ result_count }} results {% endblocktrans %}

{% if not keyword %} {% include 'elements/forms/errors.html' with form=form%} {{ form.article_search|foundation }}
{{ form.title }} {{ form.title.label_tag }}
{{ form.abstract }} {{ form.abstract.label_tag }}
{{ form.authors }} {{ form.authors.label_tag }}
{{ form.keywords }} {{ form.keywords.label_tag }}
{{ form.full_text }} {{ form.full_text.label_tag }}
{{ form.orcid }} {{ form.orcid.label_tag }}
{{ form.sort|foundation }} {% else %} You are currently browsing by keyword. {% trans 'Search for an article' %}. {% endif %}
{% if all_keywords %} {% endif %}
{% endblock %}