Sha256: 38c006609fb945fee002f70f8c0a8cd3bde3cda00a73788b7d29f7252ed97e55
Contents?: true
Size: 1.08 KB
Versions: 29
Compression:
Stored size: 1.08 KB
Contents
<%= form_with url: rodauth.reset_password_request_path, method: :post, data: { turbo: false } do |form| %> <%== rodauth.reset_password_explanatory_text %> <% if params[rodauth.login_param] && !rodauth.field_error(rodauth.login_param) %> <%= form.hidden_field rodauth.login_param, value: params[rodauth.login_param] %> <% else %> <div class="form-group mb-3"> <%= form.label "login", rodauth.login_label, class: "form-label" %> <%= form.email_field rodauth.login_param, value: params[rodauth.login_param], id: "login", autocomplete: "email", required: true, class: "form-control #{"is-invalid" if rodauth.field_error(rodauth.login_param)}", aria: ({ invalid: true, describedby: "login_error_message" } if rodauth.field_error(rodauth.login_param)) %> <%= content_tag(:span, rodauth.field_error(rodauth.login_param), class: "invalid-feedback", id: "login_error_message") if rodauth.field_error(rodauth.login_param) %> </div> <% end %> <div class="form-group mb-3"> <%= form.submit rodauth.reset_password_request_button, class: "btn btn-primary" %> </div> <% end %>
Version data entries
29 entries across 29 versions & 2 rubygems