Sha256: 6149522df68ec3c001a2c54aa1219e86bee9993539c8796b54d55efdb2ffeafb

Contents?: true

Size: 895 Bytes

Versions: 29

Compression:

Stored size: 895 Bytes

Contents

<%= form_with url: rodauth.recovery_auth_path, method: :post, data: { turbo: false } do |form| %>
  <div class="form-group mb-3">
    <%= form.label "recovery-code", rodauth.recovery_codes_label, class: "form-label" %>
    <%= form.text_field rodauth.recovery_codes_param, value: "", id: "recovery-code", autocomplete: "off", required: true, class: "form-control #{"is-invalid" if rodauth.field_error(rodauth.recovery_codes_param)}", aria: ({ invalid: true, describedby: "recovery-code_error_message" } if rodauth.field_error(rodauth.recovery_codes_param)) %>
    <%= content_tag(:span, rodauth.field_error(rodauth.recovery_codes_param), class: "invalid-feedback", id: "recovery-code_error_message") if rodauth.field_error(rodauth.recovery_codes_param) %>
  </div>

  <div class="form-group mb-3">
    <%= form.submit rodauth.recovery_auth_button, class: "btn btn-primary" %>
  </div>
<% 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/recovery_auth.html.erb
rodauth-rails-2.0.1 lib/generators/rodauth/templates/app/views/rodauth/recovery_auth.html.erb
rodauth-rails-2.0.0 lib/generators/rodauth/templates/app/views/rodauth/recovery_auth.html.erb
rodauth-rails-1.15.2 lib/generators/rodauth/templates/app/views/rodauth/recovery_auth.html.erb
rodauth-rails-1.15.1 lib/generators/rodauth/templates/app/views/rodauth/recovery_auth.html.erb
rodauth-rails-1.15.0 lib/generators/rodauth/templates/app/views/rodauth/recovery_auth.html.erb
rodauth-rails-1.14.0 lib/generators/rodauth/templates/app/views/rodauth/recovery_auth.html.erb
plutonium-0.6.2 lib/generators/pu/rodauth/templates/app/views/rodauth/recovery_auth.html.erb
plutonium-0.6.1 lib/generators/pu/rodauth/templates/app/views/rodauth/recovery_auth.html.erb
plutonium-0.6.0 lib/generators/pu/rodauth/templates/app/views/rodauth/recovery_auth.html.erb
plutonium-0.5.0 lib/generators/pu/rodauth/templates/app/views/rodauth/recovery_auth.html.erb
rodauth-rails-1.13.0 lib/generators/rodauth/templates/app/views/rodauth/recovery_auth.html.erb
rodauth-rails-1.12.0 lib/generators/rodauth/templates/app/views/rodauth/recovery_auth.html.erb
rodauth-rails-1.11.0 lib/generators/rodauth/templates/app/views/rodauth/recovery_auth.html.erb
rodauth-rails-1.10.0 lib/generators/rodauth/templates/app/views/rodauth/recovery_auth.html.erb
rodauth-rails-1.9.0 lib/generators/rodauth/templates/app/views/rodauth/recovery_auth.html.erb
rodauth-rails-1.8.0 lib/generators/rodauth/templates/app/views/rodauth/recovery_auth.html.erb
rodauth-rails-1.7.1 lib/generators/rodauth/templates/app/views/rodauth/recovery_auth.html.erb
rodauth-rails-1.7.0 lib/generators/rodauth/templates/app/views/rodauth/recovery_auth.html.erb
rodauth-rails-1.6.4 lib/generators/rodauth/templates/app/views/rodauth/recovery_auth.html.erb