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@19990 e93f8b46-1217-0410-a6f0-8f06a7374b81
17 lines
617 B
Plaintext
17 lines
617 B
Plaintext
<h2><%=l 'twofa_label_deactivation_confirmation' -%></h2>
|
|
|
|
<div class="splitcontentleft">
|
|
<%= form_tag({ action: :deactivate,
|
|
scheme: @twofa_view[:scheme_name] },
|
|
{ method: :post,
|
|
id: 'twofa_form' }) do -%>
|
|
<%= render partial: 'twofa_code_form' -%>
|
|
<%= submit_tag l('button_disable'), name: :submit_otp -%>
|
|
<%= link_to l('twofa_resend_code'), { action: 'deactivate_init', scheme: @twofa_view[:scheme_name] }, method: :post if @twofa_view[:resendable] -%>
|
|
<% end %>
|
|
</div>
|
|
|
|
<% content_for :sidebar do %>
|
|
<%= render :partial => 'my/sidebar' %>
|
|
<% end %>
|