<% content_for :title, rodauth.confirm_password_page_title %> <%= form_with url: rodauth.confirm_password_path, method: :post, data: { turbo: false } do |form| %>
<%= 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) %>
<%= form.submit rodauth.confirm_password_button, class: "btn btn-primary" %>
<% end %>