summaryrefslogtreecommitdiff
path: root/app/views/otp_challenges
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-24 22:08:05 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-24 22:08:05 +0200
commit90207029de7474082310d0725801d60f7145fa98 (patch)
tree97b0c54fcd004ff221265e479f2602f8e3a5b093 /app/views/otp_challenges
parent215279dfb003163a7938ba948082363c105e888f (diff)
Extract admin strings to i18n: sessions, otp, users/edit
Diffstat (limited to 'app/views/otp_challenges')
-rw-r--r--app/views/otp_challenges/new.html.erb8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/otp_challenges/new.html.erb b/app/views/otp_challenges/new.html.erb
index d6e18c85..677244c7 100644
--- a/app/views/otp_challenges/new.html.erb
+++ b/app/views/otp_challenges/new.html.erb
@@ -1,13 +1,13 @@
1<h1>Second factor</h1> 1<h1><%= t(".title") %></h1>
2 2
3<div id="admin_layout"> 3<div id="admin_layout">
4 <div class="layout_row_label">Code</div> 4 <div class="layout_row_label"> <%= t(".code") %> </div>
5 <div class="layout_row_content"> 5 <div class="layout_row_content">
6 <%= form_tag otp_challenge_path, :method => :post, :class => "otp_form" do %> 6 <%= form_tag otp_challenge_path, :method => :post, :class => "otp_form" do %>
7 <%= text_field_tag :code, nil, :autofocus => true, 7 <%= text_field_tag :code, nil, :autofocus => true,
8 :autocomplete => "one-time-code", :inputmode => "numeric" %> 8 :autocomplete => "one-time-code", :inputmode => "numeric" %>
9 <%= submit_tag "Log in" %> 9 <%= submit_tag t(".log_in") %>
10 <% end %> 10 <% end %>
11 <span class="field_hint">Enter the six-digit code from your authenticator app.</span> 11 <span class="field_hint"> <%= t(".hint") %> </span>
12 </div> 12 </div>
13</div> 13</div>