Sha256: 4ff8e7bd1c08d8fc21255e6c5de6089cafd937582f03920213fa0f32a8e287ad

Contents?: true

Size: 565 Bytes

Versions: 17

Compression:

Stored size: 565 Bytes

Contents

<div>
  <% if rodauth.recovery_codes.any? %>
    <div class="text-sm px-4 py-3 bg-white rounded-lg border shadow-lg grid grid-cols-2 gap-y-2 gap-x-4 dark:bg-gray-900 dark:text-gray-200">
      <% rodauth.recovery_codes.each do |code| %>
        <div class="font-mono"><%= code %></div>
      <% end %>
    </div>
  <% end %>

  <% if rodauth.can_add_recovery_codes? %>
    <div class="text-2xl font-medium mt-6 mb-4">
      <%== rodauth.add_recovery_codes_heading %>
    </div>
    <%= render template: "rodauth/recovery_codes", layout: false %>
  <% end %>
</div>

Version data entries

17 entries across 17 versions & 2 rubygems

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