Skip to content

Commit

Permalink
dashboard: Remove unnecessary "retour" button
Browse files Browse the repository at this point in the history
  • Loading branch information
tonial committed Sep 9, 2024
1 parent eb115fa commit d097af9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion itou/templates/dashboard/edit_user_info.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ <h2>Informations personnelles</h2>
{% 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 %}
</form>
{% endif %}
</div>
Expand Down
2 changes: 1 addition & 1 deletion itou/templates/dashboard/edit_user_notifications.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ <h2>Gestion des notifications</h2>
</div>

{% 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 %}
</form>
</div>
</div>
Expand Down

0 comments on commit d097af9

Please sign in to comment.