From bb3ef51f136cc9171017ed2c6a077c92535209fe Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Mon, 21 Nov 2022 21:13:25 +0100 Subject: [PATCH] Add spacing to 2FA buttons --- .../otp_authentication/_totp_enabled.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/settings/two_factor_authentication/otp_authentication/_totp_enabled.html.haml b/app/views/settings/two_factor_authentication/otp_authentication/_totp_enabled.html.haml index 4dc95b41..b23a4886 100644 --- a/app/views/settings/two_factor_authentication/otp_authentication/_totp_enabled.html.haml +++ b/app/views/settings/two_factor_authentication/otp_authentication/_totp_enabled.html.haml @@ -1,6 +1,6 @@ %p= t(".body") %p= t(".recovery_code_count", count: recovery_code_count) -= link_to t(".remove.action"), settings_two_factor_authentication_otp_authentication_path, class: "btn btn-danger", += link_to t(".remove.action"), settings_two_factor_authentication_otp_authentication_path, class: "btn btn-danger mb-1", data: { turbo_confirm: t(".remove.confirm"), turbo_method: :delete } -= link_to t(".regenerate.action"), settings_two_factor_authentication_otp_authentication_reset_path, class: "btn btn-primary", += link_to t(".regenerate.action"), settings_two_factor_authentication_otp_authentication_reset_path, class: "btn btn-primary mb-1", data: { turbo_confirm: t(".regenerate.confirm"), turbo_method: :delete }