Permalink
Browse files

Update show.html.haml

  • Loading branch information...
hakaba-hitoyo committed Sep 29, 2017
1 parent 586f62d commit b388e4428281c09e5c388f942ecf591dcd681ed6
Showing with 8 additions and 7 deletions.
  1. +8 −7 app/views/settings/two_factor_authentications/show.html.haml
@@ -25,10 +25,11 @@
data: { method: :post }
- else
.simple_form
%p.hint= t('two_factor_authentication.description_html')
= link_to t('two_factor_authentication.setup'),
settings_two_factor_authentication_path,
data: { method: :post },
class: 'block-button'
- unless current_account.guest?
.simple_form
%p.hint= t('two_factor_authentication.description_html')
= link_to t('two_factor_authentication.setup'),
settings_two_factor_authentication_path,
data: { method: :post },
class: 'block-button'

0 comments on commit b388e44

Please sign in to comment.