alpes-maritimes-2018: fix manual registration link url (#53144)
This commit is contained in:
parent
869025424c
commit
4b141865ec
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue