Sha256: 571332abefb1dab95b973b2019788d494708fa184de961d19133fa39536e86c4

Contents?: true

Size: 652 Bytes

Versions: 29

Compression:

Stored size: 652 Bytes

Contents

<% if rodauth.two_factor_setup_links.any? %>
  <%== rodauth.two_factor_setup_heading %>

  <ul>
    <% rodauth.two_factor_setup_links.sort.each do |_, link, text| %>
      <li><%= link_to text, link %></li>
    <% end %>
  </ul>
<% end %>

<% if rodauth.two_factor_remove_links.any? %>
  <%== rodauth.two_factor_remove_heading %>

  <ul>
    <% rodauth.two_factor_remove_links.sort.each do |_, link, text| %>
      <li><%= link_to text, link %></li>
    <% end %>
    <% if rodauth.two_factor_remove_links.length > 1 %>
      <li><%= link_to rodauth.two_factor_disable_link_text, rodauth.two_factor_disable_path %></li>
    <% end %>
  </ul>
<% end %>

Version data entries

29 entries across 29 versions & 2 rubygems

Version Path
rodauth-rails-2.0.2 lib/generators/rodauth/templates/app/views/rodauth/two_factor_manage.html.erb
rodauth-rails-2.0.1 lib/generators/rodauth/templates/app/views/rodauth/two_factor_manage.html.erb
rodauth-rails-2.0.0 lib/generators/rodauth/templates/app/views/rodauth/two_factor_manage.html.erb
rodauth-rails-1.15.2 lib/generators/rodauth/templates/app/views/rodauth/two_factor_manage.html.erb
rodauth-rails-1.15.1 lib/generators/rodauth/templates/app/views/rodauth/two_factor_manage.html.erb
rodauth-rails-1.15.0 lib/generators/rodauth/templates/app/views/rodauth/two_factor_manage.html.erb
rodauth-rails-1.14.0 lib/generators/rodauth/templates/app/views/rodauth/two_factor_manage.html.erb
plutonium-0.6.2 lib/generators/pu/rodauth/templates/app/views/rodauth/two_factor_manage.html.erb
plutonium-0.6.1 lib/generators/pu/rodauth/templates/app/views/rodauth/two_factor_manage.html.erb
plutonium-0.6.0 lib/generators/pu/rodauth/templates/app/views/rodauth/two_factor_manage.html.erb
plutonium-0.5.0 lib/generators/pu/rodauth/templates/app/views/rodauth/two_factor_manage.html.erb
rodauth-rails-1.13.0 lib/generators/rodauth/templates/app/views/rodauth/two_factor_manage.html.erb
rodauth-rails-1.12.0 lib/generators/rodauth/templates/app/views/rodauth/two_factor_manage.html.erb
rodauth-rails-1.11.0 lib/generators/rodauth/templates/app/views/rodauth/two_factor_manage.html.erb
rodauth-rails-1.10.0 lib/generators/rodauth/templates/app/views/rodauth/two_factor_manage.html.erb
rodauth-rails-1.9.0 lib/generators/rodauth/templates/app/views/rodauth/two_factor_manage.html.erb
rodauth-rails-1.8.0 lib/generators/rodauth/templates/app/views/rodauth/two_factor_manage.html.erb
rodauth-rails-1.7.1 lib/generators/rodauth/templates/app/views/rodauth/two_factor_manage.html.erb
rodauth-rails-1.7.0 lib/generators/rodauth/templates/app/views/rodauth/two_factor_manage.html.erb
rodauth-rails-1.6.4 lib/generators/rodauth/templates/app/views/rodauth/two_factor_manage.html.erb