Sha256: 86e93aa3a00acc78d1c3ac0be8ce6eaebf1ae5ba3f7c3e479b689e35a22edf18
Contents?: true
Size: 955 Bytes
Versions: 10
Compression:
Stored size: 955 Bytes
Contents
<% content_for :title, rodauth.recovery_auth_page_title %> <%= form_with url: rodauth.recovery_auth_path, method: :post, data: { turbo: false } do |form| %> <div class="form-group mb-3"> <%= form.label "recovery-code", rodauth.recovery_codes_label, class: "form-label" %> <%= form.text_field rodauth.recovery_codes_param, value: "", id: "recovery-code", autocomplete: "off", required: true, class: "form-control #{"is-invalid" if rodauth.field_error(rodauth.recovery_codes_param)}", aria: ({ invalid: true, describedby: "recovery-code_error_message" } if rodauth.field_error(rodauth.recovery_codes_param)) %> <%= content_tag(:span, rodauth.field_error(rodauth.recovery_codes_param), class: "invalid-feedback", id: "recovery-code_error_message") if rodauth.field_error(rodauth.recovery_codes_param) %> </div> <div class="form-group mb-3"> <%= form.submit rodauth.recovery_auth_button, class: "btn btn-primary" %> </div> <% end %>
Version data entries
10 entries across 10 versions & 1 rubygems