x
1
<input type="text" name="otp_input" id="otp_input" placeholder="OTP from SMS" autocorrect="off" autocapitalize="none" required="required" autocomplete="one-time-code" inputmode="numeric" pattern="[0-9]*" class="input" data-controller="otp-input" />
1
<%= text_field_tag "otp_input", nil, placeholder: "OTP from SMS", autocorrect: "off", autocapitalize: "none", required: true, autocomplete: "one-time-code", inputmode: "numeric", pattern: "[0-9]*", class: "input", data: { controller: "otp-input" } %>
CSS is not required or multiple files are needed, check the notes.
Java Script is not required or multiple files are needed, check the notes.