journalduhacker/app/views/settings/twofa_verify.html.erb
2017-05-17 18:13:24 +02:00

24 lines
551 B
Plaintext

<div class="box wide">
<div class="legend right">
<a href="/settings">Back to Settings</a>
</div>
<div class="legend">
<%= @title %>
</div>
<%= form_tag twofa_update_url do %>
<p>
<%= t('.enablecode') %>
</p>
<div class="boxline">
<%= label_tag :totp_code, "TOTP Code:", :class => "required" %>
<%= text_field_tag :totp_code, "", :size => 10, :autocomplete => "off",
:type => "number", :autofocus => "autofocus" %>
</div>
<p>
<%= submit_tag t('.verifyenable') %>
<% end %>
</div>