Sha256: 86ffca499b10d85838b66ac42e32e0256290dc43531d974e40e00261774cb070

Contents?: true

Size: 844 Bytes

Versions: 6

Compression:

Stored size: 844 Bytes

Contents

<h3><%= I18n.t('title', {scope: 'devise.two_factor.trusted_devices'}) %></h3>
<p><%= I18n.t('explain', {scope: 'devise.two_factor.trusted_devices'}) %></p>
<%- if is_otp_trusted_device_for? resource %>
  <p><em><%= I18n.t('device_trusted', {scope: 'devise.two_factor.trusted_devices'}) %></em></p>
  <p><%= link_to I18n.t('trust_remove', {scope: 'devise.two_factor.trusted_devices'}), persistence_token_path_for(resource_name), method: :post %></p>
<% else %>
  <p><%= I18n.t('device_not_trusted', {scope: 'devise.two_factor.trusted_devices'}) %></p>
  <p><%= link_to I18n.t('trust_add', {scope: 'devise.two_factor.trusted_devices'}), persistence_token_path_for(resource_name) %></p>
<% end %>
<p><%= link_to I18n.t('trust_clear', {scope: 'devise.two_factor.trusted_devices'}), persistence_token_path_for(resource_name), method: :delete %></p>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
devise-2fa-0.4.1 app/views/devise/tokens/_trusted_devices.html.erb
devise-2fa-0.4.0 app/views/devise/tokens/_trusted_devices.html.erb
devise-2fa-0.2.1 app/views/devise/tokens/_trusted_devices.html.erb
devise-2fa-0.2.0 app/views/devise/tokens/_trusted_devices.html.erb
devise-2fa-0.1.1 app/views/devise/tokens/_trusted_devices.html.erb
devise-2fa-0.1.0 app/views/devise/tokens/_trusted_devices.html.erb