mirror of
https://github.com/redmine/redmine.git
synced 2025-12-16 05:20:28 +01:00
Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@19989 e93f8b46-1217-0410-a6f0-8f06a7374b81
20 lines
614 B
Plaintext
20 lines
614 B
Plaintext
<%= title l('twofa_label_setup') %>
|
|
|
|
<%= form_tag({ controller: 'twofa', action: 'activate_init' }, method: :post) do %>
|
|
<div class="box">
|
|
<p><%=l 'twofa_notice_select' -%></p>
|
|
<p>
|
|
<% Redmine::Twofa.available_schemes.each_with_index do |s, idx| %>
|
|
<label style="display:block;"><%= radio_button_tag 'scheme', s, idx == 0 -%> <%=l "twofa__#{s}__name" -%></label>
|
|
<% end %>
|
|
</p>
|
|
</div>
|
|
<p><%= submit_tag l(:label_next).html_safe + " »".html_safe -%></p>
|
|
<% end %>
|
|
|
|
<% unless @user.must_activate_twofa? %>
|
|
<% content_for :sidebar do %>
|
|
<%= render partial: 'my/sidebar' %>
|
|
<% end %>
|
|
<% end %>
|