summaryrefslogtreecommitdiff
path: root/app/views/otp_enrollments
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-24 18:04:56 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-24 18:04:56 +0200
commit50ca5e40f461290a2db7452b95f80dd3188dba1d (patch)
tree2d94b44463afa35ef6cab73b8aac70c38c4cc0bf /app/views/otp_enrollments
parentd5883869e97244335370d54e21ef46b3f1885899 (diff)
Rename layout classes to what they actually do
Diffstat (limited to 'app/views/otp_enrollments')
-rw-r--r--app/views/otp_enrollments/show.html.erb10
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" %>