Sha256: 5982a4af31a404d796f4065d02f35b25fbcc14932b913a4fa4c1b8a0e67913ac

Contents?: true

Size: 1.53 KB

Versions: 32

Compression:

Stored size: 1.53 KB

Contents

<%= form_with url: rodauth.otp_auth_path, method: :post, data: { turbo: false }, class: "space-y-4" do |form| %>
  <div>
    <%= form.label "otp-auth-code", rodauth.otp_auth_label, class: "block mb-2 text-sm font-semibold text-gray-900 dark:text-white" %>
    <%= form.text_field rodauth.otp_auth_param, value: "", id: "otp-auth-code", autocomplete: "off", inputmode: "numeric", required: true, class: "bg-gray-50 border border-gray-300 text-gray-900 rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500 #{rodauth.field_error(rodauth.otp_auth_param) ? "border-red-600 focus:ring-red-600 focus:border-red-600 dark:border-red-400 dark:focus:ring-red-400" : "border-gray-300 dark:border-gray-700 dark:focus:border-emerald-400 dark:focus:ring-emerald-400" }", 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: "block mt-1 text-red-600 text-xs dark:text-red-400", id: "otp-auth-code_error_message") if rodauth.field_error(rodauth.otp_auth_param) %>
  </div>
  <%= form.submit rodauth.otp_auth_button, class: "w-full text-white bg-primary-600 hover:bg-primary-700 focus:ring-4 focus:outline-none focus:ring-primary-300 font-semibold rounded-lg text-sm px-5 py-2.5 text-center dark:bg-primary-600 dark:hover:bg-primary-700 dark:focus:ring-primary-800" %>
<% end %>

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
plutonium-0.15.22 app/views/rodauth/otp_auth.html.erb
plutonium-0.15.21 app/views/rodauth/otp_auth.html.erb
plutonium-0.15.20 app/views/rodauth/otp_auth.html.erb
plutonium-0.15.19 app/views/rodauth/otp_auth.html.erb
plutonium-0.15.18 app/views/rodauth/otp_auth.html.erb
plutonium-0.15.17 app/views/rodauth/otp_auth.html.erb
plutonium-0.15.16 app/views/rodauth/otp_auth.html.erb
plutonium-0.15.15 app/views/rodauth/otp_auth.html.erb
plutonium-0.15.14 app/views/rodauth/otp_auth.html.erb
plutonium-0.15.13 app/views/rodauth/otp_auth.html.erb
plutonium-0.15.12 app/views/rodauth/otp_auth.html.erb
plutonium-0.15.11 app/views/rodauth/otp_auth.html.erb
plutonium-0.15.10 app/views/rodauth/otp_auth.html.erb
plutonium-0.15.9 app/views/rodauth/otp_auth.html.erb
plutonium-0.15.8 app/views/rodauth/otp_auth.html.erb
plutonium-0.15.7 app/views/rodauth/otp_auth.html.erb
plutonium-0.15.6 app/views/rodauth/otp_auth.html.erb
plutonium-0.15.5 app/views/rodauth/otp_auth.html.erb
plutonium-0.15.4 app/views/rodauth/otp_auth.html.erb
plutonium-0.15.3 app/views/rodauth/otp_auth.html.erb