Sha256: 742f14bfb43d1dfc1cd21d1ff39d1f3fe4240310195a6f690f26140cd8a9976f

Contents?: true

Size: 1017 Bytes

Versions: 10

Compression:

Stored size: 1017 Bytes

Contents

<% content_for :title, rodauth.sms_disable_page_title %>

<%= form_with url: rodauth.sms_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.sms_disable_button, class: "btn btn-primary" %>
  </div>
<% end %>

Version data entries

10 entries across 10 versions & 1 rubygems

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