Sha256: c50c508e06cbce0b343143416e62a0082df4a0a25d793be2b9c429b99088c527

Contents?: true

Size: 892 Bytes

Versions: 4

Compression:

Stored size: 892 Bytes

Contents

<h2><%= I18n.t('title', :scope => 'devise.otp.edit_otp_token') %></h2>
<p><%= I18n.t('explain', :scope => 'devise.otp.edit_otp_token') %></p>

<h2><%= I18n.t('lead_in', :scope => 'devise.otp.edit_otp_token') %></h2>

<p><%= I18n.t('step_1', :scope => 'devise.otp.edit_otp_token') %></p>

<%= otp_authenticator_token_image(resource) %>

<p>
  <strong><%= I18n.t('manual_provisioning', :scope => 'devise.otp.token_secret') %>:</strong>
  <code><%= resource.otp_auth_secret %></code>
</p>

<p><%= I18n.t('step_2', :scope => 'devise.otp.edit_otp_token') %></p>

<%= form_with(:url => [resource_name, :otp_token], :method => :put) do |f| %>

  <p>
    <%= f.label :confirmation_code, I18n.t('confirmation_code', :scope => 'devise.otp.edit_otp_token') %>
    <%= f.text_field :confirmation_code %>
  </p>

  <p><%= f.submit I18n.t('submit', :scope => 'devise.otp.edit_otp_token') %></p>

<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
devise-otp-1.0.0 app/views/devise/otp_tokens/edit.html.erb
devise-otp-0.8.0 app/views/devise/otp_tokens/edit.html.erb
devise-otp-0.7.1 app/views/devise/otp_tokens/edit.html.erb
devise-otp-0.7.0 app/views/devise/otp_tokens/edit.html.erb