Sha256: 3ea1a2ac4742afddccf6b5ebdbd8282d7f0c9b9cb91730e57818b6aa5716b89d
Contents?: true
Size: 1.7 KB
Versions: 29
Compression:
Stored size: 1.7 KB
Contents
<%= form_with url: rodauth.verify_account_path, method: :post, data: { turbo: false } do |form| %> <% if rodauth.verify_account_set_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> <% if rodauth.require_password_confirmation? %> <div class="form-group mb-3"> <%= form.label "password-confirm", rodauth.password_confirm_label, class: "form-label" %> <%= form.password_field rodauth.password_confirm_param, value: "", id: "password-confirm", autocomplete: "new-password", required: true, class: "form-control #{"is-invalid" if rodauth.field_error(rodauth.password_confirm_param)}", aria: ({ invalid: true, describedby: "password-confirm_error_message" } if rodauth.field_error(rodauth.password_confirm_param)) %> <%= content_tag(:span, rodauth.field_error(rodauth.password_confirm_param), class: "invalid-feedback", id: "password-confirm_error_message") if rodauth.field_error(rodauth.password_confirm_param) %> </div> <% end %> <% end %> <div class="form-group mb-3"> <%= form.submit rodauth.verify_account_button, class: "btn btn-primary" %> </div> <% end %>
Version data entries
29 entries across 29 versions & 2 rubygems