mirror of https://github.com/docusealco/docuseal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
534 B
14 lines
534 B
<%= render 'shared/turbo_modal', title: t('remove_2fa') do %>
|
|
<%= form_for '', url: mfa_setup_path, method: :delete, data: { turbo_frame: :_top } do |f| %>
|
|
<div class="form-control my-6 space-y-2">
|
|
<%= f.text_field :otp_attempt, required: true, placeholder: 'XXX-XXX', class: 'base-input text-center' %>
|
|
<span>
|
|
<%= @error_message %>
|
|
</span>
|
|
</div>
|
|
<div class="form-control mt-4">
|
|
<%= f.button button_title(title: t('remove_2fa')), class: 'base-button' %>
|
|
</div>
|
|
<% end %>
|
|
<% end %>
|