alpes-maritimes-2018: fix manual registration link url (#53144)

This commit is contained in:
Serghei Mihai 2021-04-13 17:28:00 +02:00
parent 869025424c
commit 4b141865ec
1 changed files with 14 additions and 0 deletions

View File

@ -6,3 +6,17 @@
<h2>SUR MES DEMARCHES 06</h2>
</div>
{% endblock %}
{% block user-info %}
{{ block.super }}
<script>
function goto_registration(e) {
e.preventDefault();
window.location = '{{ registration_url }}';
}
$(function() {
const goto_registration_link = document.getElementById('manual-registration-link');
if (goto_registration_link) {$(goto_registration_link).click(goto_registration)};
});
</script>
{% endblock %}