summaryrefslogtreecommitdiff
path: root/app/views/otp_challenges/new.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/otp_challenges/new.html.erb')
-rw-r--r--app/views/otp_challenges/new.html.erb28
1 files changed, 13 insertions, 15 deletions
diff --git a/app/views/otp_challenges/new.html.erb b/app/views/otp_challenges/new.html.erb
index ff7df222..551d798c 100644
--- a/app/views/otp_challenges/new.html.erb
+++ b/app/views/otp_challenges/new.html.erb
@@ -1,18 +1,16 @@
1<h1><%= t(".title") %></h1> 1<div class="auth_card">
2 <h1><%= t(".title") %></h1>
2 3
3<div class="admin_layout"> 4 <%= form_tag otp_challenge_path, :method => :post, :class => "otp_form" do %>
4 <div class="layout_row"> 5 <div class="login_field">
5 <div class="layout_row_label"> <%= t(".code") %> </div> 6 <%= label_tag :code, t(".code") %>
6 <div class="layout_row_content"> 7 <%= text_field_tag :code, nil, :autofocus => true,
7 <%= form_tag otp_challenge_path, :method => :post, :class => "otp_form" do %> 8 :autocomplete => "one-time-code", :inputmode => "numeric",
8 <%= text_field_tag :code, nil, :autofocus => true, 9 :maxlength => 6, :pattern => "[0-9]{6}", :class => "otp_code" %>
9 :autocomplete => "one-time-code", :inputmode => "numeric",
10 :maxlength => 6, :pattern => "[0-9]{6}", :class => "otp_code" %>
11 <span class="field_hint"> <%= t(".hint") %> </span>
12 <%= button_tag :type => "submit", :class => "action_button" do %>
13 <%= icon("shield-check", library: "tabler", "aria-hidden": true) %> <%= t(".log_in") %>
14 <% end %>
15 <% end %>
16 </div> 10 </div>
17 </div> 11 <span class="field_hint"><%= t(".hint") %></span>
12 <%= button_tag :type => "submit", :class => "action_button" do %>
13 <%= icon("shield-check", library: "tabler", "aria-hidden": true) %> <%= t(".log_in") %>
14 <% end %>
15 <% end %>
18</div> 16</div>