From 73fda3d623c9aae5e73a1984464f204ca2b12bda Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 19 Feb 2022 16:28:38 +0100 Subject: [PATCH] Add a Back button from export panel for consistency The other user related sections all have a Back button so it makes sense that this one ought to have one as well. --- snikket_web/templates/user_manage_data.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/snikket_web/templates/user_manage_data.html b/snikket_web/templates/user_manage_data.html index 0f958e8..8fcb9e6 100644 --- a/snikket_web/templates/user_manage_data.html +++ b/snikket_web/templates/user_manage_data.html @@ -11,6 +11,8 @@ {% call render_errors(form) %}{% endcall %}
+ {%- call standard_button("back", url_for('.index'), class="tertiary") %}{% trans %}Back{% endtrans %}{% endcall -%} +
{{ form.csrf_token }} {%- call form_button("download", form.action_export, class="primary") %}{% endcall -%}