diff options
Diffstat (limited to 'app/views/shared/_two_factor_auth_recovery_settings_check.html.haml')
-rw-r--r-- | app/views/shared/_two_factor_auth_recovery_settings_check.html.haml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/shared/_two_factor_auth_recovery_settings_check.html.haml b/app/views/shared/_two_factor_auth_recovery_settings_check.html.haml index 0899756d088..ff4b2de2286 100644 --- a/app/views/shared/_two_factor_auth_recovery_settings_check.html.haml +++ b/app/views/shared/_two_factor_auth_recovery_settings_check.html.haml @@ -1,9 +1,9 @@ = render Pajamas::AlertComponent.new(variant: :warning, - alert_class: 'js-recovery-settings-callout gl-mt-5', - alert_data: { feature_id: Users::CalloutsHelper::TWO_FACTOR_AUTH_RECOVERY_SETTINGS_CHECK, - dismiss_endpoint: callouts_path, - defer_links: 'true' }, - close_button_data: { testid: 'close-account-recovery-regular-check-callout' }) do |c| + alert_options: { class: 'js-recovery-settings-callout gl-mt-5', + data: { feature_id: Users::CalloutsHelper::TWO_FACTOR_AUTH_RECOVERY_SETTINGS_CHECK, + dismiss_endpoint: callouts_path, + defer_links: 'true' }}, + close_button_options: { data: { testid: 'close-account-recovery-regular-check-callout' }}) do |c| = c.body do = s_('Profiles|Ensure you have two-factor authentication recovery codes stored in a safe place.') = link_to _('Learn more.'), help_page_path('user/profile/account/two_factor_authentication', anchor: 'recovery-codes'), target: '_blank', rel: 'noopener noreferrer' |