<!DOCTYPE html>
<html class="no-js">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <title></title>
        <meta name="viewport" content="width=device-width">

        {% block css %}{% endblock %}

        <script src="{{ STATIC_URL }}js/vendor/jquery-2.0.3.min.js"></script>
        <script src="{{ STATIC_URL }}js/vendor/modernizr-2.6.2-respond-1.1.0.min.js"></script>

        <script src="{{ STATIC_URL }}js/vendor/jquery.scrollTo-min.js"></script>

        <script type="text/javascript">
            $(function() {
                setTimeout(function() {
                    var errors = $(".error");

                    if (errors.length > 0) {
                        $.scrollTo(errors);
                    }
                }, 1);
            });
        </script>

        <script src="{{ STATIC_URL }}js/selvbetjening.core.events.js" type="text/javascript"></script>

        {% block head %}{% endblock %}
    </head>
    <body>
    {% block body %}{% endblock %}
    </body>
</html>

<!DOCTYPE html>
<html class="no-js">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <title></title>
        <meta name="viewport" content="width=device-width">

        {% block css %}{% endblock %}

        <script src="{{ STATIC_URL }}js/vendor/jquery-2.0.3.min.js"></script>
        <script src="{{ STATIC_URL }}js/vendor/modernizr-2.6.2-respond-1.1.0.min.js"></script>

        <script src="{{ STATIC_URL }}js/vendor/jquery.scrollTo-min.js"></script>

        <script type="text/javascript">
            $(function() {
                setTimeout(function() {
                    var errors = $(".has-error");

                    if (errors.length > 0) {
                        $.scrollTo(errors);
                    }
                }, 1);
            });
        </script>

        <script src="{{ STATIC_URL }}js/selvbetjening.core.events.js" type="text/javascript"></script>

        {% block head %}{% endblock %}
    </head>
    <body>
    {% block body %}{% endblock %}
    </body>
</html>

Fix auto scroll to error
Fix auto scroll to error
