<%= I18n.t('title', {:scope => 'devise.otp.token_secret'}) %>

<%= I18n.t('explain', {:scope => 'devise.otp.token_secret'}) %>

<%= otp_authenticator_token_image(resource) %>

<%= I18n.t('manual_provisioning', {:scope => 'devise.otp.token_secret'}) %>: <%= resource.otp_auth_secret %>

<%= link_to I18n.t('reset_otp', {:scope => 'devise.otp.token_secret'}), @resource, :method => :delete %>

<%= I18n.t('reset_explain', {:scope => 'devise.otp.token_secret'}) %> <%= I18n.t('reset_explain_warn', {:scope => 'devise.otp.token_secret'}) %>

<%- if recovery_enabled? %>

<%= I18n.t('title', {:scope => 'devise.otp.tokens.recovery'}) %>

<%= I18n.t('explain', {:scope => 'devise.otp.tokens.recovery'}) %>

<%= link_to I18n.t('codes_list', {:scope => 'devise.otp.tokens.recovery'}), recovery_otp_token_for(resource_name) %>

<%= link_to I18n.t('download_codes', {:scope => 'devise.otp.tokens.recovery'}), recovery_otp_token_for(resource_name, format: :text) %>

<% end %>