diff options
Diffstat (limited to 'app/views/otp_enrollments/show.html.erb')
| -rw-r--r-- | app/views/otp_enrollments/show.html.erb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/otp_enrollments/show.html.erb b/app/views/otp_enrollments/show.html.erb index 90c42b59..12067ae3 100644 --- a/app/views/otp_enrollments/show.html.erb +++ b/app/views/otp_enrollments/show.html.erb | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | <h1>Enable second factor</h1> | 1 | <h1>Enable second factor</h1> |
| 2 | 2 | ||
| 3 | <div id="page_editor"> | 3 | <div id="admin_layout"> |
| 4 | <div class="node_description">Scan</div> | 4 | <div class="layout_row_label">Scan</div> |
| 5 | <div class="node_content"> | 5 | <div class="layout_row_content"> |
| 6 | <div class="otp_qr"> | 6 | <div class="otp_qr"> |
| 7 | <%= raw RQRCode::QRCode.new(current_user.pending_otp_provisioning_uri) | 7 | <%= raw RQRCode::QRCode.new(current_user.pending_otp_provisioning_uri) |
| 8 | .as_svg(:module_size => 4, :viewbox => true, | 8 | .as_svg(:module_size => 4, :viewbox => true, |
| @@ -11,8 +11,8 @@ | |||
| 11 | <span class="field_hint">Or enter the secret manually: <code><%= current_user.otp_pending_secret %></code></span> | 11 | <span class="field_hint">Or enter the secret manually: <code><%= current_user.otp_pending_secret %></code></span> |
| 12 | </div> | 12 | </div> |
| 13 | 13 | ||
| 14 | <div class="node_description">Confirm</div> | 14 | <div class="layout_row_label">Confirm</div> |
| 15 | <div class="node_content"> | 15 | <div class="layout_row_content"> |
| 16 | <%= form_tag otp_enrollment_path, :method => :put, :class => "otp_form" do %> | 16 | <%= form_tag otp_enrollment_path, :method => :put, :class => "otp_form" do %> |
| 17 | <%= text_field_tag :code, nil, :autofocus => true, | 17 | <%= text_field_tag :code, nil, :autofocus => true, |
| 18 | :autocomplete => "one-time-code", :inputmode => "numeric" %> | 18 | :autocomplete => "one-time-code", :inputmode => "numeric" %> |
