use numeric keyboard for otp code inputs
This commit is contained in:
committed by
Pete Matsyburka
parent
b8ab7190d2
commit
34d0e00910
@@ -1,7 +1,7 @@
|
||||
<%= render 'shared/turbo_modal', title: t('remove_2fa') do %>
|
||||
<%= form_for '', url: mfa_setup_path, method: :delete, data: { turbo_frame: :_top } do |f| %>
|
||||
<div class="form-control my-6 space-y-2">
|
||||
<%= f.text_field :otp_attempt, required: true, placeholder: 'XXX-XXX', class: 'base-input text-center' %>
|
||||
<%= f.text_field :otp_attempt, required: true, inputmode: 'numeric', placeholder: 'XXXXXX', class: 'base-input text-center' %>
|
||||
<span>
|
||||
<%= @error_message %>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user