{% extends "psynet_layout.html" %} {% block title %}{{ pgettext("error", "An error occurred") }}{% endblock %} {% block body %}
{# The placeholder stays hidden until theme.html swaps in the themed logos, otherwise the browser paints the raw PNG first and then replaces it. #}

{{ pgettext("error", "An error occurred") }}


{% if error_text %}

{{ error_text }}

{% endif %} {% if error_page_presentation %} {# The explanation is already in this document. Show it immediately. Hide only the action until JS attaches handlers. The spinner is for the later Submit or redirect wait, not for first paint. #}
{% if error_page_presentation.message %}

{{ error_page_presentation.message }}

{% endif %} {% if error_page_presentation.action_instruction %}

{{ error_page_presentation.action_instruction }}

{% endif %}
{% if error_page_presentation.button_label %} {% endif %}
{% if error_page_presentation.researcher_contact_message %}

{{ error_page_presentation.researcher_contact_message }}

{% endif %} {% endif %}
{% endblock %}