%= if Phoenix.Flash.get(@flash, :info) do %>
<%= Phoenix.Flash.get(@flash, :info) %>
<% end %>
<%= if Phoenix.Flash.get(@flash, :error) do %>
<%= Phoenix.Flash.get(@flash, :error) %>
<% end %>
<%= Gettext.dpgettext("static_pages", "mfa recover page title", "Two-factor recovery") %>
<%= form_for @conn, Routes.mfa_verify_path(@conn, :verify), [as: "mfa"], fn f -> %>
<%= label f, :code, Gettext.dpgettext("static_pages", "mfa recover recovery code prompt", "Recovery code") %>
<%= text_input f, :code, [autocomplete: false, autocorrect: "off", autocapitalize: "off", autofocus: true, spellcheck: false] %>
<%= hidden_input f, :mfa_token, value: @mfa_token %>
<%= hidden_input f, :state, value: @state %>
<%= hidden_input f, :redirect_uri, value: @redirect_uri %>
<%= hidden_input f, :challenge_type, value: "recovery" %>
<%= submit Gettext.dpgettext("static_pages", "mfa recover verify recovery code button", "Verify") %>
<% end %>
">
<%= Gettext.dpgettext("static_pages", "mfa recover use 2fa code link", "Enter a two-factor code") %>