Sha256: d84bf6b9d88734cff147a4380095368a1809cc69bed4c31a1faac5b4abc21cc5

Contents?: true

Size: 716 Bytes

Versions: 12

Compression:

Stored size: 716 Bytes

Contents

<% content_for :title, rodauth.two_factor_manage_page_title %>

<% 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

12 entries across 12 versions & 1 rubygems

Version Path
rodauth-rails-1.4.2 lib/generators/rodauth/templates/app/views/rodauth/two_factor_manage.html.erb
rodauth-rails-1.4.1 lib/generators/rodauth/templates/app/views/rodauth/two_factor_manage.html.erb
rodauth-rails-1.4.0 lib/generators/rodauth/templates/app/views/rodauth/two_factor_manage.html.erb
rodauth-rails-1.3.1 lib/generators/rodauth/templates/app/views/rodauth/two_factor_manage.html.erb
rodauth-rails-1.3.0 lib/generators/rodauth/templates/app/views/rodauth/two_factor_manage.html.erb
rodauth-rails-1.2.2 lib/generators/rodauth/templates/app/views/rodauth/two_factor_manage.html.erb
rodauth-rails-1.2.1 lib/generators/rodauth/templates/app/views/rodauth/two_factor_manage.html.erb
rodauth-rails-1.2.0 lib/generators/rodauth/templates/app/views/rodauth/two_factor_manage.html.erb
rodauth-rails-1.1.0 lib/generators/rodauth/templates/app/views/rodauth/two_factor_manage.html.erb
rodauth-rails-1.0.0 lib/generators/rodauth/templates/app/views/rodauth/two_factor_manage.html.erb
rodauth-rails-0.18.1 lib/generators/rodauth/templates/app/views/rodauth/two_factor_manage.html.erb
rodauth-rails-0.18.0 lib/generators/rodauth/templates/app/views/rodauth/two_factor_manage.html.erb