Sha256: 0f7b186396d81f52f4dbaff2d6bc9d612c6a0309afa39cb4def58faf37332a9b

Contents?: true

Size: 973 Bytes

Versions: 29

Compression:

Stored size: 973 Bytes

Contents

<%= form_with url: rodauth.two_factor_disable_path, method: :post, data: { turbo: false } do |form| %>
  <% if rodauth.two_factor_modifications_require_password? %>
    <div class="form-group mb-3">
      <%= form.label "password", rodauth.password_label, class: "form-label" %>
      <%= form.password_field rodauth.password_param, value: "", id: "password", autocomplete: rodauth.password_field_autocomplete_value, required: true, class: "form-control #{"is-invalid" if rodauth.field_error(rodauth.password_param)}", aria: ({ invalid: true, describedby: "password_error_message" } if rodauth.field_error(rodauth.password_param)) %>
      <%= content_tag(:span, rodauth.field_error(rodauth.password_param), class: "invalid-feedback", id: "password_error_message") if rodauth.field_error(rodauth.password_param) %>
    </div>
  <% end %>

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