summaryrefslogtreecommitdiff
path: root/app/views/elevations/new.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/elevations/new.html.erb')
-rw-r--r--app/views/elevations/new.html.erb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/elevations/new.html.erb b/app/views/elevations/new.html.erb
index 8dd64e78..8e1b59c2 100644
--- a/app/views/elevations/new.html.erb
+++ b/app/views/elevations/new.html.erb
@@ -10,7 +10,8 @@
10 <div class="layout_row_label"><%= t(".code") %></div> 10 <div class="layout_row_label"><%= t(".code") %></div>
11 <div class="layout_row_content"> 11 <div class="layout_row_content">
12 <%= text_field_tag :code, nil, :autocomplete => "one-time-code", 12 <%= text_field_tag :code, nil, :autocomplete => "one-time-code",
13 :inputmode => "numeric", :autofocus => true %> 13 :inputmode => "numeric", :autofocus => true, :maxlength => 6,
14 :pattern => "[0-9]{6}", :class => "otp_code" %>
14 </div> 15 </div>
15 </div> 16 </div>
16 17