Apply suggestion to app/views/profiles/two_factor_auths/_codes.html.haml

This commit is contained in:
antony liu 2019-05-30 02:56:45 +00:00 committed by antonyliu
parent 66cd56a037
commit 8203f9463b
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
%p.slead
= _('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.'.html_safe) % { b_start:'<b>'.html_safe, b_end:'</b>'.html_safe }
- 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
%ul