diff options
Diffstat (limited to 'app/views/otp_enrollments/show.html.erb')
| -rw-r--r-- | app/views/otp_enrollments/show.html.erb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/otp_enrollments/show.html.erb b/app/views/otp_enrollments/show.html.erb index 16addb5b..a7604dd2 100644 --- a/app/views/otp_enrollments/show.html.erb +++ b/app/views/otp_enrollments/show.html.erb | |||
| @@ -18,12 +18,13 @@ | |||
| 18 | <div class="layout_row_content"> | 18 | <div class="layout_row_content"> |
| 19 | <%= form_tag otp_enrollment_path, :method => :put, :class => "otp_form" do %> | 19 | <%= form_tag otp_enrollment_path, :method => :put, :class => "otp_form" do %> |
| 20 | <%= text_field_tag :code, nil, :autofocus => true, | 20 | <%= text_field_tag :code, nil, :autofocus => true, |
| 21 | :autocomplete => "one-time-code", :inputmode => "numeric" %> | 21 | :autocomplete => "one-time-code", :inputmode => "numeric", |
| 22 | :maxlength => 6, :pattern => "[0-9]{6}", :class => "otp_code" %> | ||
| 23 | <span class="field_hint"> <%= t(".app_hint", :issuer => OTP_ISSUER) %></span> | ||
| 22 | <%= button_tag :type => "submit", :class => "action_button" do %> | 24 | <%= button_tag :type => "submit", :class => "action_button" do %> |
| 23 | <%= icon("shield-check", library: "tabler", "aria-hidden": true) %> <%= t(".confirm") %> | 25 | <%= icon("shield-check", library: "tabler", "aria-hidden": true) %> <%= t(".confirm") %> |
| 24 | <% end %> | 26 | <% end %> |
| 25 | <% end %> | 27 | <% end %> |
| 26 | <span class="field_hint"> <%= t(".app_hint", :issuer => OTP_ISSUER) %></span> | ||
| 27 | </div> | 28 | </div> |
| 28 | </div> | 29 | </div> |
| 29 | </div> | 30 | </div> |
