Sha256: eefa3403fafeb3cf7eb659d64dd46240d481f7e7fea544699b5ab9e72a0089e5
Contents?: true
Size: 1007 Bytes
Versions: 26
Compression:
Stored size: 1007 Bytes
Contents
<%= form_with url: rodauth.unlock_account_path, method: :post, data: { turbo: false } do |form| %> <%== rodauth.unlock_account_explanatory_text %> <% if rodauth.unlock_account_requires_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.unlock_account_button, class: "btn btn-primary" %> </div> <% end %>
Version data entries
26 entries across 26 versions & 2 rubygems