{% sw_extends '@Storefront/storefront/component/account/register.html.twig' %}
{% block component_account_register_header %}
{{ parent() }}
{% if app.request.get('isAmazonLoginError') %}
{% sw_include '@Storefront/storefront/utilities/alert.html.twig' with {
type: "danger",
content: 'SwagAmazonPay.errors.loginWithAmazon'|trans|sw_sanitize
} %}
{% endif %}
{% endblock %}