<script{{ attrs().setIfExists('nonce', csp_nonce('script-src')) }}>
    (function() {
        var p = document.querySelector('p.error') || document.querySelector('p.confirm');
        if (p) {
            p.scrollIntoView();
        }
    })();
</script>
