Commit 764d4f11 authored by o@immerda.ch's avatar o@immerda.ch
Browse files

changes to layout for the rewording

parent 315c7ce8
...@@ -2,17 +2,14 @@ ...@@ -2,17 +2,14 @@
<p> <p>
<%= t(:totp_description) %> <%= t(:add_your_totp_long) %> <%= link_to 'FreeOTP', 'https://freeotp.github.io/', target: '_new' %> <%= t(:totp_description) %> <%= t(:add_your_totp_long) %> <%= link_to 'FreeOTP', 'https://freeotp.github.io/', target: '_new' %>
</p> </p>
<h4><%= t(:your_new_totp_token) %></h4>
<p> <p>
<%= t(:your_new_totp_token_long) %>
<div class="qr-field"><%= raw(totp_qr.as_html) %></div> <div class="qr-field"><%= raw(totp_qr.as_html) %></div>
<br/> <br/>
Secret: <%= totp_secret %> Secret: <%= totp_secret %>
</p> </p>
<p> <p>
<h4><%= t(:finalize_your_totp) %></h4>
<p> <p>
<%= t(:finalize_your_totp_long) %> <%= t(:finalize_your_totp) %>
</p> </p>
<%= form_tag(tfa_totp_path, method: "post") do %> <%= form_tag(tfa_totp_path, method: "post") do %>
<%= hidden_field('', :kind, :value => 'totp') %> <%= hidden_field('', :kind, :value => 'totp') %>
......
...@@ -2,11 +2,7 @@ ...@@ -2,11 +2,7 @@
<p> <p>
<%= t(:register_webauthn_description) %> <%= t(:register_webauthn_description) %>
</p> </p>
<h4><%= t(:register_new_webauthn) %></h4>
<div class="webauthn-form"> <div class="webauthn-form">
<div>
<%= image_tag 'webauthn.png' %>
</div>
<%= form_tag(tfa_webauthn_path, method: "post") do %> <%= form_tag(tfa_webauthn_path, method: "post") do %>
<table> <table>
<tr><td> <tr><td>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment