<%= t('login.second_factor_title') %>
<%=form_tag({}, method: :put) do %> <%= label_tag(:second_factor_token, t('login.second_factor_description')) %>
<%= render 'common/second_factor_text_field' %>
<% if @show_invalid_second_factor_error %>
<%= t('login.invalid_second_factor_code') %>
<% end %>
<%= submit_tag t('submit'), class: "btn btn-primary" %>
<% end %>