Merge branch 'fix/broken-js' into 'master'

Fix broken forms


See merge request ae-utbm/Sith!318
This commit is contained in:
Antoine Bartuccio 2022-08-06 12:53:30 +00:00
commit c904b2d827

View File

@ -15,16 +15,16 @@
<script defer href="{{ static('core/font-awesome/js/fontawesone.min.js') }}"></script>
<!-- Jquery declared here to be accessible in every django widgets -->
<script defer src="{{ static('core/js/jquery-3.1.0.min.js') }}"></script>
<script src="{{ static('core/js/jquery-3.1.0.min.js') }}"></script>
<!-- Put here to always have acces to those functions on django widgets -->
<script defer src="{{ static('core/js/script.js') }}"></script>
<script src="{{ static('core/js/script.js') }}"></script>
{% endblock %}
</head>
<body>
{# The token is always passed here to be accessible from the dom #}
{# See this workaround https://docs.djangoproject.com/en/2.0/ref/csrf/#acquiring-the-token-if-csrf-use-sessions-is-true #}
<!-- The token is always passed here to be accessible from the dom -->
<!-- See this workaround https://docs.djangoproject.com/en/2.0/ref/csrf/#acquiring-the-token-if-csrf-use-sessions-is-true -->
{% csrf_token %}
<!-- BEGIN HEADER -->
{% block header %}