<% if @user.has_2fa? %> To turn off two-factor authentication for your account, enter your current password: <% else %> To begin the two-factor authentication enrollment for your account, enter your current password: <% end %>
<% if @user.has_2fa? %> <%= submit_tag "Disable Two-Factor Authentication" %> <% else %> <%= submit_tag "Continue" %> <% end %> <% end %>