Sha256: 7ef4d7aa96c783ec3bd1eeeb043490bdd6136e73b237698e33224f14feb1decb

Contents?: true

Size: 694 Bytes

Versions: 12

Compression:

Stored size: 694 Bytes

Contents

#{rodauth.two_factor_setup_heading unless rodauth.two_factor_setup_links.empty?}

<ul class="rodauth-links rodauth-multifactor-setup-links">
#{rodauth.two_factor_setup_links.map do |_, link, text|
  "<li><a href=\"#{h link}\">#{h text}</a></li>"
end.join("\n")}
</ul>

#{rodauth.two_factor_remove_heading unless rodauth.two_factor_remove_links.empty?}

<ul class="rodauth-links rodauth-multifactor-remove-links">
#{rodauth.two_factor_remove_links.map do |_, link, text|
  "<li><a href=\"#{h link}\">#{h text}</a></li>"
end.join("\n")}
#{"<li><a href=\"#{h rodauth.two_factor_disable_path}\">#{rodauth.two_factor_disable_link_text}</a></li>" if rodauth.two_factor_remove_links.length > 1}
</ul>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rodauth-2.37.0 templates/two-factor-manage.str
rodauth-2.36.0 templates/two-factor-manage.str
rodauth-2.34.0 templates/two-factor-manage.str
rodauth-2.33.0 templates/two-factor-manage.str
rodauth-2.32.0 templates/two-factor-manage.str
rodauth-2.31.0 templates/two-factor-manage.str
rodauth-2.30.0 templates/two-factor-manage.str
rodauth-2.29.0 templates/two-factor-manage.str
rodauth-2.28.0 templates/two-factor-manage.str
rodauth-2.27.0 templates/two-factor-manage.str
rodauth-2.26.1 templates/two-factor-manage.str
rodauth-2.26.0 templates/two-factor-manage.str