diff --git a/itou/templates/apply/submit/create_or_update_job_seeker/step_base.html b/itou/templates/apply/submit/create_or_update_job_seeker/step_base.html index 35dde715a8..6ddaa34aae 100644 --- a/itou/templates/apply/submit/create_or_update_job_seeker/step_base.html +++ b/itou/templates/apply/submit/create_or_update_job_seeker/step_base.html @@ -72,7 +72,7 @@

{% endif %}
{% bootstrap_form_errors form type="all" %} -
+ {% csrf_token %} {% block form_content %}{% endblock %} diff --git a/itou/templates/dashboard/includes/edit_job_seeker_info_form.html b/itou/templates/dashboard/includes/edit_job_seeker_info_form.html index 3674c775a9..ca997cf117 100644 --- a/itou/templates/dashboard/includes/edit_job_seeker_info_form.html +++ b/itou/templates/dashboard/includes/edit_job_seeker_info_form.html @@ -8,7 +8,7 @@ {% load django_bootstrap5 %} {% load buttons_form %} - + {% csrf_token %} {% if form.nir_error %}{{ form.nir_error|safe }}{% endif %} diff --git a/itou/templates/employee_record/includes/create_step_1.html b/itou/templates/employee_record/includes/create_step_1.html index 5156b13a03..b7af2e133f 100644 --- a/itou/templates/employee_record/includes/create_step_1.html +++ b/itou/templates/employee_record/includes/create_step_1.html @@ -5,7 +5,7 @@
- + {% csrf_token %}
Etat civil du salariƩ diff --git a/itou/templates/signup/job_seeker_signup.html b/itou/templates/signup/job_seeker_signup.html index e5ceb92b8b..5c14a651bf 100644 --- a/itou/templates/signup/job_seeker_signup.html +++ b/itou/templates/signup/job_seeker_signup.html @@ -43,7 +43,7 @@

Ou utilisez votre adresse e-mail

- + {% csrf_token %} diff --git a/itou/www/apply/views/submit_views.py b/itou/www/apply/views/submit_views.py index adcfb4deb0..5f9b2c23a1 100644 --- a/itou/www/apply/views/submit_views.py +++ b/itou/www/apply/views/submit_views.py @@ -563,6 +563,7 @@ def post(self, request, *args, **kwargs): def get_context_data(self, **kwargs): return super().get_context_data(**kwargs) | { "form": self.form, + "matomo_form_name": "apply-create-job-seeker-identity", "progress": "20", } @@ -1367,6 +1368,7 @@ def get_context_data(self, **kwargs): return super().get_context_data(**kwargs) | { "confirmation_needed": False, "form": self.form, + "matomo_form_name": "apply-update-job-seeker-identity", "readonly_form": not self.request.user.can_edit_personal_information(self.job_seeker), "progress": "20", } diff --git a/tests/www/signup/__snapshots__/test_job_seeker.ambr b/tests/www/signup/__snapshots__/test_job_seeker.ambr index 6ec17fc8df..c5064eddaf 100644 --- a/tests/www/signup/__snapshots__/test_job_seeker.ambr +++ b/tests/www/signup/__snapshots__/test_job_seeker.ambr @@ -1,7 +1,7 @@ # serializer version: 1 # name: JobSeekerSignupTest.test_job_seeker_signup[job_seeker_signup_form] ''' - +