2017-05-17 11:29:54 +02:00
|
|
|
<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>
|
2017-05-17 18:13:24 +02:00
|
|
|
<%= t('.enablecode') %>
|
2017-05-17 11:29:54 +02:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<div class="boxline">
|
|
|
|
<%= label_tag :totp_code, "TOTP Code:", :class => "required" %>
|
2017-05-17 18:49:24 +02:00
|
|
|
<%= number_field_tag :totp_code, "", :size => 10, :autocomplete => "off",
|
|
|
|
:autofocus => true, :class => "totp_code" %>
|
2017-05-17 11:29:54 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<p>
|
2017-05-17 18:13:24 +02:00
|
|
|
<%= submit_tag t('.verifyenable') %>
|
2017-05-17 11:29:54 +02:00
|
|
|
<% end %>
|
|
|
|
</div>
|