blob: cbc7c35064201a0e0e74b2df1c5a03edce589f80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<%= 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 %>
|