=f.text_field:otp_attempt,class: 'form-control',required: true,autofocus: true,autocomplete: 'off',title: 'This field is required.',inputmode: 'numeric',pattern: '[0-9]*'
=f.text_field:otp_attempt,class: 'form-control',required: true,autofocus: true,autocomplete: 'off',title: 'This field is required.'
%p.form-text.text-muted.hint Enter the code from the two-factor app on your mobile device. If you've lost your device, you may enter one of your recovery codes.
%p.form-text.text-muted.hint Enter the code from the two-factor app on your mobile device. If you've lost your device, you may enter one of your recovery codes.