diff --git a/app/views/auth_verification/show.html.erb b/app/views/auth_verification/show.html.erb index 7447408..dd6f7a9 100644 --- a/app/views/auth_verification/show.html.erb +++ b/app/views/auth_verification/show.html.erb @@ -11,7 +11,7 @@ <%= f.hidden_field :email, value: @email %>
- <%= f.text_field :verification_code, placeholder: "Verification Code", maxlength: 6, class: "mb-4 block w-full px-3 py-2 border border-gray-300 placeholder-gray-500 text-gray-900 rounded-md sm:text-sm" %> + <%= f.text_field :verification_code, placeholder: "Verification Code", autofocus: true, autocomplete: "one-time-code", pattern: "[a-z0-9]", maxlength: 6, class: "mb-4 block w-full px-3 py-2 border border-gray-300 placeholder-gray-500 text-gray-900 rounded-md sm:text-sm" %>
<%= f.button class: "w-full flex justify-center py-2 px-4 border border-transparent text-sm font-medium rounded-md text-white bg-blue-500" do %>