Sha256: 974735ec234aa11e36610e32f8c60bf93db8c6a4e71c17f40f69d3aa7009d090
Contents?: true
Size: 954 Bytes
Versions: 29
Compression:
Stored size: 954 Bytes
Contents
<%= form_with url: rodauth.otp_auth_path, method: :post, data: { turbo: false } do |form| %> <div class="form-group mb-3"> <%= form.label "otp-auth-code", rodauth.otp_auth_label, class: "form-label" %> <div class="row"> <div class="col-sm-3"> <%= form.text_field rodauth.otp_auth_param, value: "", id: "otp-auth-code", autocomplete: "off", inputmode: "numeric", required: true, class: "form-control #{"is-invalid" if rodauth.field_error(rodauth.otp_auth_param)}", aria: ({ invalid: true, describedby: "otp-auth-code_error_message" } if rodauth.field_error(rodauth.otp_auth_param)) %> <%= content_tag(:span, rodauth.field_error(rodauth.otp_auth_param), class: "invalid-feedback", id: "otp-auth-code_error_message") if rodauth.field_error(rodauth.otp_auth_param) %> </div> </div> </div> <div class="form-group mb-3"> <%= form.submit rodauth.otp_auth_button, class: "btn btn-primary" %> </div> <% end %>
Version data entries
29 entries across 29 versions & 2 rubygems