diff options
Diffstat (limited to 'app/views/profiles/two_factor_auths/_codes.html.haml')
-rw-r--r-- | app/views/profiles/two_factor_auths/_codes.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/profiles/two_factor_auths/_codes.html.haml b/app/views/profiles/two_factor_auths/_codes.html.haml index 68cd4875a33..40272b6354c 100644 --- a/app/views/profiles/two_factor_auths/_codes.html.haml +++ b/app/views/profiles/two_factor_auths/_codes.html.haml @@ -2,11 +2,11 @@ - lose_2fa_message = _('Should you ever lose your phone or access to your one time password secret, each of these recovery codes can be used one time each to regain access to your account. Please save them in a safe place, or you %{b_start}will%{b_end} lose access to your account.') % { b_start:'<b>', b_end:'</b>' } = lose_2fa_message.html_safe -.codes.card +.codes.card{ data: { qa_selector: 'codes_content' } } %ul - @codes.each do |code| %li - %span.monospace= code + %span.monospace{ data: { qa_selector: 'code_content' } }= code .d-flex = link_to _('Proceed'), profile_account_path, class: 'btn btn-success gl-mr-3', data: { qa_selector: 'proceed_button' } |