From d097af97515fe7b9558e2ab33209535b5d4c0454 Mon Sep 17 00:00:00 2001 From: Antoine LAURENT Date: Mon, 9 Sep 2024 12:05:00 +0200 Subject: [PATCH] dashboard: Remove unnecessary "retour" button --- itou/templates/dashboard/edit_user_info.html | 2 +- itou/templates/dashboard/edit_user_notifications.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/itou/templates/dashboard/edit_user_info.html b/itou/templates/dashboard/edit_user_info.html index 29f020e001..3e07a1a2ea 100644 --- a/itou/templates/dashboard/edit_user_info.html +++ b/itou/templates/dashboard/edit_user_info.html @@ -81,7 +81,7 @@

Informations personnelles

{% bootstrap_field form.phone %} {% comment "prev_url may be not useful anymore, remove it from the view" %}{% endcomment %} - {% itou_buttons_form primary_label="Enregistrer et quitter" secondary_url=prev_url %} + {% itou_buttons_form primary_label="Enregistrer et quitter" reset_url=prev_url %} {% endif %} diff --git a/itou/templates/dashboard/edit_user_notifications.html b/itou/templates/dashboard/edit_user_notifications.html index bfdf4a592a..047a5f765d 100644 --- a/itou/templates/dashboard/edit_user_notifications.html +++ b/itou/templates/dashboard/edit_user_notifications.html @@ -53,7 +53,7 @@

Gestion des notifications

{% comment "back_url may be not useful anymore, remove it from the view" %}{% endcomment %} - {% itou_buttons_form primary_label="Enregistrer" secondary_url=back_url show_mandatory_fields_mention=False %} + {% itou_buttons_form primary_label="Enregistrer" reset_url=back_url show_mandatory_fields_mention=False %}